build: add build steps as default recipe in justfile
All checks were successful
Test / checks (map[name:nightly]) (push) Successful in 4m54s
Test / checks (map[name:stable]) (push) Successful in 4m35s

This commit is contained in:
Paul Campbell 2024-11-14 20:28:22 +00:00
parent 2332292416
commit 33d49ce712
2 changed files with 14 additions and 0 deletions

2
.gitignore vendored
View file

@ -25,3 +25,5 @@ Cargo.lock
# Added by cargo
/target
/mutants.out/
/mutants.out.old/

View file

@ -1,3 +1,15 @@
build:
#!/usr/bin/env bash
set -e
cargo fmt
cargo fmt --check
cargo hack clippy
cargo hack build
cargo hack test
cargo doc
# cargo test --example get
cargo mutants --jobs 4
self-test:
just test $PWD forgejo-todo-checker