14 lines
536 B
Makefile
14 lines
536 B
Makefile
build:
|
|
cargo fmt --check
|
|
cargo hack --feature-powerset clippy
|
|
cargo hack --feature-powerset build
|
|
cargo hack --feature-powerset test
|
|
|
|
install-hooks:
|
|
@echo "Installing git hooks"
|
|
git config core.hooksPath .git-hooks
|
|
|
|
validate-dev-branch:
|
|
git rebase -i origin/main -x 'cargo build --features "fs,network"'
|
|
git rebase -i origin/main -x 'cargo test --features "fs,network"'
|
|
git rebase -i origin/main -x 'cargo clippy --features "fs,network" -- -D warnings -W clippy::nursery -W clippy::unwrap_used -W clippy::expect_used'
|