aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--justfile16
1 files changed, 10 insertions, 6 deletions
diff --git a/justfile b/justfile
index 1bb89c3..d1b7058 100644
--- a/justfile
+++ b/justfile
@@ -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