-
Notifications
You must be signed in to change notification settings - Fork 0
Deploy customization
Jonas Schwartz edited this page Apr 18, 2018
·
1 revision
Currently supported are:
swiftVersion
e.g.:
swiftVersion: "4.1.0"
Build hooks are just plain bash files, and can be used to customize the deploy process.
Hooks should be placed in a folder called hooks
in the project root
The following hooks can be used:
Used to customize the run command e.g.:
#!/bin/bash
./MyExecutable serve --hostname 0.0.0.0 --port 8080
Used to customize the build command e.g.:
#!/bin/bash
swift build -c release
NB It's Currently only possible to build in release mode
Resources