Task run runs a release.
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ tasks:
|
|||||||
desc: Run the API
|
desc: Run the API
|
||||||
deps: [db-up]
|
deps: [db-up]
|
||||||
cmds:
|
cmds:
|
||||||
- cd "{{.SERVER_DIR}}" && DATABASE_URL="{{.DATABASE_URL}}" cargo run --locked
|
- cd "{{.SERVER_DIR}}" && DATABASE_URL="{{.DATABASE_URL}}" cargo run --release --locked
|
||||||
|
|
||||||
dev:
|
dev:
|
||||||
desc: Run the API with cargo-watch
|
desc: Run the API with cargo-watch
|
||||||
|
|||||||
Reference in New Issue
Block a user