achievements/justfile
2023-06-10 20:48:47 +02:00

30 lines
566 B
Makefile

_list:
@just --list --unsorted
# Check project
check:
just --unstable --fmt --check
cargo fmt --check
taplo fmt --check `fd --extension=toml`
taplo lint `fd --extension=toml`
cargo check
cargo nextest run
nix flake show
# Format project
fmt:
just --unstable --fmt
cargo fmt
taplo fmt `fd --extension=toml`
run-backend:
RUST_LOG=debug cargo run -p backend
# POST /create
create-gul-bus:
xh post 127.0.0.1:4000/create goal='pej på en gul bus'
# ws://<host>/ws
subscribe-ws:
websocat ws://127.0.0.1:4000/ws