relay filter/appview bootstrap
1set dotenv-load
2
3default:
4 @just --list
5
6build:
7 cargo build --release
8
9check:
10 SQLX_OFFLINE=true cargo check
11
12run:
13 cargo run
14
15watch:
16 cargo watch -x run
17
18test:
19 cargo test
20
21test-verbose:
22 cargo test -- --nocapture
23
24test-api:
25 cargo test --test api -- --nocapture
26
27test-pagination:
28 cargo test --test pagination -- --nocapture
29
30test-tap:
31 cargo test --test tap_consumer -- --nocapture
32
33fmt:
34 cargo fmt
35
36lint:
37 cargo clippy -- -D warnings
38
39db-up:
40 docker compose up -d postgres
41
42db-down:
43 docker compose down
44
45migrate:
46 cargo sqlx migrate run --source migrations
47
48sqlx-prepare:
49 cargo sqlx prepare
50
51clean:
52 cargo clean
53
54full-stack:
55 docker compose up
56
57full-stack-build:
58 docker compose up --build