build(justfile): validate format locally
This commit is contained in:
parent
f4b8401bb1
commit
7b1575eb09
1 changed files with 1 additions and 0 deletions
1
justfile
1
justfile
|
@ -4,6 +4,7 @@ install-hooks:
|
||||||
git config core.hooksPath .git-hooks
|
git config core.hooksPath .git-hooks
|
||||||
|
|
||||||
validate-dev-branch:
|
validate-dev-branch:
|
||||||
|
git rebase -i origin/main -x 'cargo fmt --check'
|
||||||
git rebase -i origin/main -x 'cargo build'
|
git rebase -i origin/main -x 'cargo build'
|
||||||
git rebase -i origin/main -x 'cargo test'
|
git rebase -i origin/main -x 'cargo test'
|
||||||
git rebase -i origin/main -x 'cargo clippy -- -D warnings'
|
git rebase -i origin/main -x 'cargo clippy -- -D warnings'
|
||||||
|
|
Loading…
Reference in a new issue