File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 7777 # Since we're only pinging the version api endpoint, no database is needed and
7878 # we can just copy the development template to ensure the db env variables are set.
7979 cp .env.development.template .env.development
80- # FIXME: change to `-c release` after testing!!!
81- swift build -c debug --static-swift-stdlib -Xlinker -ljemalloc
82- $(swift build --show-bin-path -c debug)/Run serve --port 8080 --hostname 0.0.0.0 &
80+ swift build -c release --static-swift-stdlib -Xlinker -ljemalloc
81+ $(swift build --show-bin-path -c release)/Run serve --port 8080 --hostname 0.0.0.0 &
8382 sleep 10
8483 echo Probing api/version...
8584 bash -c '[ "$(curl -sL -w "%{http_code}" -o /dev/null http://127.0.0.1:8080/api/version)" == "200" ] || (echo Connection failed ; exit 1)'
You can’t perform that action at this time.
0 commit comments