forked from kemitix/git-next
build: add build recipe to justfile
This commit is contained in:
parent
c9d853797e
commit
eabf97dff8
1 changed files with 12 additions and 0 deletions
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
|
||||||
|
|
||||||
install-hooks:
|
install-hooks:
|
||||||
@echo "Installing git hooks"
|
@echo "Installing git hooks"
|
||||||
cargo install cc-cli
|
cargo install cc-cli
|
||||||
|
|
Loading…
Reference in a new issue