20 lines
401 B
Makefile
20 lines
401 B
Makefile
build:
|
|
cargo build --features shutdown
|
|
|
|
run:
|
|
cargo run --features shutdown
|
|
|
|
start:
|
|
cargo run --features shutdown 2>&1 > logs/nuchat.log
|
|
|
|
test:
|
|
./scripts/test.sh
|
|
|
|
default := 'run'
|
|
watch CMD=default:
|
|
watchexec -w src -r just {{CMD}}
|
|
|
|
lint *ARGS:
|
|
cargo clippy -- -Dwarnings -Dclippy::correctness -Wclippy::pedantic -Wclippy::perf -Aclippy::missing_errors_doc -Aclippy::missing_panics_doc {{ARGS}}
|
|
|