| 12345678910111213141516171819202122232425262728293031323334 |
- all: build test
- all-release: build-release test-release
- # compiles the exa binary
- @build:
- cargo build
- # compiles the exa binary (in release mode)
- @build-release:
- cargo build --release --verbose
- # compiles the exa binary with every combination of feature flags
- build-features:
- cargo hack build --feature-powerset
- # runs unit tests
- @test:
- cargo test --all -- --quiet
- # runs unit tests (in release mode)
- @test-release:
- cargo test --release --all --verbose
- # runs unit tests with every combination of feature flags
- test-features:
- cargo hack test --feature-powerset -- --quiet
- # prints versions of the necessary build tools
- @versions:
- rustc --version
- cargo --version
|