build: add build steps as default recipe in justfile
This commit is contained in:
parent
2332292416
commit
33d49ce712
2 changed files with 14 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -25,3 +25,5 @@ Cargo.lock
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
|
|
||||||
/target
|
/target
|
||||||
|
/mutants.out/
|
||||||
|
/mutants.out.old/
|
||||||
|
|
12
justfile
12
justfile
|
@ -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:
|
self-test:
|
||||||
just test $PWD forgejo-todo-checker
|
just test $PWD forgejo-todo-checker
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue