diff options
author | Benjamin Sago <ogham@bsago.me> | 2021-04-03 17:41:48 +0100 |
---|---|---|
committer | Benjamin Sago <ogham@bsago.me> | 2021-04-03 17:41:48 +0100 |
commit | 8c34b46a22960e3f91ae3ad5eeff6be92df4dc1b (patch) | |
tree | 58e524cdac2d1e9447cd666518e9032e4ddb53ee /Justfile | |
parent | b051ac947736d3951e6d2a799f1b42437d85e605 (diff) |
Version output changes
• Bring what's shown in the version string in line with my other projects (URL, description, git hash and date for release-mode non-final builds only, potential for colours in the future)
• Show +git or -git depending on feature status
• Tests for the above, and for checking that the command-line flag is warned about
Diffstat (limited to 'Justfile')
-rw-r--r-- | Justfile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -79,6 +79,12 @@ all-release: build-release test-release command -v cargo-hack >/dev/null || (echo "cargo-hack not installed" && exit 1) cargo hack check --feature-powerset +# build exa and run extended tests with features disabled +@feature-checks *args: + cargo build --no-default-features + specsheet xtests/features/none.toml -shide {{args}} \ + -O cmd.target.exa="${CARGO_TARGET_DIR:-../../target}/debug/exa" + # print versions of the necessary build tools @versions: rustc --version |