mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
29 lines
520 B
Makefile
29 lines
520 B
Makefile
TESTS =
|
|
|
|
all: check build test doc shear
|
|
|
|
check:
|
|
cargo clippy --workspace --all-targets -- -Dwarnings
|
|
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --workspace
|
|
cargo deny check -Dwarnings
|
|
|
|
build:
|
|
cargo build --all-targets --workspace
|
|
subplot docgen ci-broker.subplot -o ci-broker.html
|
|
|
|
fast-test: build
|
|
timeout 60 cargo test --workspace -- --skip upgrades $(TESTS)
|
|
|
|
test: fast-test
|
|
timeout 300 cargo test --workspace -- $(TESTS)
|
|
|
|
.PHONY: doc
|
|
doc:
|
|
make -C doc
|
|
|
|
semver:
|
|
cargo semver-checks
|
|
|
|
shear:
|
|
cargo shear
|