diff --git a/Justfile b/Justfile index c07aaea..953e9df 100644 --- a/Justfile +++ b/Justfile @@ -10,6 +10,10 @@ all-release: build-release test-release @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: @@ -19,6 +23,10 @@ all-release: build-release test-release @test-release: cargo test --release --all --verbose +# runs unit tests with every combination of feature flags +test-features: + cargo hack test --feature-powerset --lib -- --quiet + # prints versions of the necessary build tools @versions: diff --git a/Vagrantfile b/Vagrantfile index 9da4b2e..1da3bc8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -55,6 +55,7 @@ Vagrant.configure(2) do |config| else set -xe curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + cargo install cargo-hack fi EOF