996ad5c4c8
Add clap-powered --bind, --static-dir, and --data-dir flags for human-run server configuration. The merge order is now explicit: command-line arguments win over UPL_* environment variables, which still fall back to the existing repository-local defaults. Document the new flags and allow just run to forward arguments to cargo so the help text can be checked through the normal task runner. Test Plan: - just check - cargo run -- --help Refs: none
25 lines
349 B
Makefile
25 lines
349 B
Makefile
fmt:
|
|
cargo +nightly fmt --all
|
|
fd -e toml -x tombi format --quiet
|
|
|
|
test:
|
|
cargo test --all-targets
|
|
|
|
static-check:
|
|
node --check static/app.js
|
|
|
|
clippy:
|
|
cargo clippy --all-targets
|
|
|
|
nginx-smoke:
|
|
./scripts/nginx-smoke.sh
|
|
|
|
check:
|
|
just fmt
|
|
just test
|
|
just static-check
|
|
just clippy
|
|
|
|
run *args:
|
|
cargo run -- {{args}}
|