Justfile 811 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. all: build test
  2. all-release: build-release test-release
  3. # compiles the exa binary
  4. @build:
  5. cargo build
  6. # compiles the exa binary (in release mode)
  7. @build-release:
  8. cargo build --release --verbose
  9. # compiles the exa binary with every combination of feature flags
  10. build-features:
  11. cargo hack build --feature-powerset
  12. # runs unit tests
  13. @test:
  14. cargo test --all -- --quiet
  15. # runs unit tests (in release mode)
  16. @test-release:
  17. cargo test --release --all --verbose
  18. # runs unit tests with every combination of feature flags
  19. test-features:
  20. cargo hack test --feature-powerset -- --quiet
  21. # updates dependency versions, and checks for outdated ones
  22. @update:
  23. cargo update
  24. cargo outdated
  25. # prints versions of the necessary build tools
  26. @versions:
  27. rustc --version
  28. cargo --version