this repo has no description
1default:
2 @just --list
3
4run:
5 cargo run
6
7run-release:
8 cargo run --release
9
10build:
11 cargo build
12
13build-release:
14 cargo build --release
15
16check:
17 cargo check
18
19clippy:
20 cargo clippy -- -D warnings
21
22fmt:
23 cargo fmt
24
25fmt-check:
26 cargo fmt -- --check
27
28lint: fmt-check clippy
29
30# Run tests (auto-starts and auto-cleans containers)
31test *args:
32 ./scripts/run-tests.sh {{args}}
33
34# Run a specific test file
35test-file file:
36 ./scripts/run-tests.sh --test {{file}}
37
38# Run tests with testcontainers (slower, no shared infra)
39test-standalone:
40 BSPDS_ALLOW_INSECURE_SECRETS=1 cargo test
41
42# Manually manage test infrastructure (for debugging)
43test-infra-start:
44 ./scripts/test-infra.sh start
45
46test-infra-stop:
47 ./scripts/test-infra.sh stop
48
49test-infra-status:
50 ./scripts/test-infra.sh status
51
52clean:
53 cargo clean
54
55doc:
56 cargo doc --open
57
58db-create:
59 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create
60
61db-migrate:
62 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run
63
64db-reset:
65 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database drop -y
66 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx database create
67 DATABASE_URL="postgres://postgres:postgres@localhost:5432/pds" sqlx migrate run
68
69docker-up:
70 docker compose up -d
71
72docker-down:
73 docker compose down
74
75docker-logs:
76 docker compose logs -f
77
78docker-build:
79 docker compose build