diff options
Diffstat (limited to '')
| -rw-r--r-- | justfile | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -4,14 +4,18 @@ PG_DB := "secd" PG_PORT := "5412" PG_URL := "postgres://" + PG_USER + ":" + PG_PASS + "@host.docker.internal:" + PG_PORT / PG_DB -run-debug: - @RUST_BACKTRACE=1 cargo run $@ +@run-debug: + RUST_BACKTRACE=1 cargo run $@ -build: - @cargo build +@build: + cargo build -build-prod: - @cargo build --release +@build-prod: + cargo build --release + +@release-amznl2: + cargo clean + docker run --rm -v ~/workspace/secdiam:/tmp/secdiam --network="host" bcbase:latest bash -c "cd /tmp/secdiam && /root/.cargo/bin/cargo build --release" @start-postgres: _start_postgres start-spice |
