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