Files
nuchat/backend/Justfile
2025-07-16 16:43:24 +01:00

19 lines
339 B
Makefile

run *ARGS: build
./target/debug/nuchat {{ARGS}}
start: build
./target/debug/nuchat 2>&1 > target/debug/logs/nuchat.log &
build:
@mkdir -p target/debug/logs
cargo build
test: integration unit
integration:
if [ ! $(curl -sf "localhost:7000/healthcheck" ) ]; then just run; fi
cargo test --test '*'
unit:
cargo test --lib --bins