.PHONY : test test-integration test-cmd test-cmd-integration test-all-fast test-all fmt-check lint
.DEFAULT_GOAL := release
clean:
cargo clean
build:
cargo build
release:
cargo build --release
install:
cargo install --path .
test:
cargo test
test-integration:
cargo test -- --ignored
lint:
cargo clippy -- -D warnings
fmt-check:
cargo fmt -- --check
test-cmd: build
./tests/bats/bin/bats tests/run_test.bats
test-cmd-integration: build
./tests/bats/bin/bats tests/run_integration_test.bats
test-all-fast: lint fmt-check test test-cmd
test-all: test-all-fast test-integration test-cmd-integration