generated from Patagia/template-nix
parent
ac6a53fac9
commit
a4097b7cc3
14 changed files with 268 additions and 78 deletions
15
justfile
15
justfile
|
@ -12,10 +12,6 @@ run-controller $RUST_LOG="debug,h2=info,hyper_util=info,tower=info":
|
|||
dev-controller:
|
||||
watchexec --clear --restart --stop-signal INT --debounce 300ms -- just run-controller
|
||||
|
||||
# Run all tests
|
||||
check:
|
||||
nix flake check
|
||||
|
||||
# Lint all source code
|
||||
lint:
|
||||
cargo clippy
|
||||
|
@ -39,3 +35,14 @@ update-nix:
|
|||
# Find unused dependencies with cargo machete
|
||||
machete:
|
||||
cargo machete
|
||||
|
||||
# Generate OpenAPI spec
|
||||
open-api:
|
||||
cargo xtask open-api
|
||||
|
||||
# Run all tests
|
||||
check: check-nix
|
||||
|
||||
# check-nix
|
||||
check-nix:
|
||||
nix flake check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue