.PHONY: clippy
clippy:
cargo clippy --all --all-targets -- -D clippy::all -D warnings
.PHONY: fix
fix:
cargo fix --allow-staged --allow-dirty --all-targets
.PHONY: format
format: format-manifest
cargo +nightly fmt --all
.PHONY: format-check
format-check:
cargo +nightly fmt --all --check
.PHONY: check-manifest
check-manifest: update-manifest
bin/update-manifest --manifest-path manifest/channel-manifest.json check
.PHONY: format-manifest
format-manifest: update-manifest
bin/update-manifest --manifest-path manifest/channel-manifest.json format
.PHONY: lint
lint: format clippy
.PHONY: test-build
test-build:
cargo nextest run --no-run
.PHONY: test
test:
cargo nextest run --no-fail-fast -- --skip integration
.PHONY: integration-test
integration-test:
cargo nextest run --no-fail-fast integration
.PHONY: check
check:
cargo check
.PHONY: build
build:
cargo build
.PHONY: build-release
build-release:
cargo build --release
.PHONY: install
install:
cargo install --locked --path . --force --bin midenup
.PHONY: update-manifest
update-manifest:
cargo +nightly -Z unstable-options build -p update-manifest --artifact-dir bin
.PHONY: serve-docs
serve-docs:
$(MAKE) -C docs/