Choosing a Build Type
The last option you're prompted to configure is the Build Type. There are three different ways you can do so: incremental, update, and clean.
For the incremental build type, Vapor Cloud simply runs the Swift build command on your application. This is the fastest way to build since it doesn't update any dependencies.
For the update build type, Vapor Cloud runs the Swift package update before running the Swift build. This allows Swift Package Manager to check the modifications of your Package.swift file and update dependencies only when needed.
For the clean build type, Vapor Cloud deletes the .build folder before running Swift build. It is the slowest build option, but makes sure that everything, including the dependencies, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access