From d46e6d86a640a644a678c4e4cf9595d8dd1a80de Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Tue, 7 May 2019 20:15:22 -0700 Subject: [PATCH] Update justfile to use `:=` instead of `=` (#432) --- justfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/justfile b/justfile index 82c9c2a..a22c6a7 100755 --- a/justfile +++ b/justfile @@ -2,13 +2,13 @@ # ^ A shebang isn't required, but allows a justfile to be executed # like a script, with `./justfile test`, for example. -bt = '0' +alias t := test -export RUST_BACKTRACE = bt +alias c := check -alias t = test +bt := '0' -alias c = check +export RUST_BACKTRACE := bt test: cargo test @@ -36,7 +36,7 @@ check: watch COMMAND='test': cargo watch --clear --exec {{COMMAND}} -version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1` +version := `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1` # publish to crates.io publish-check: lint clippy test @@ -102,7 +102,7 @@ quine: rm -r tmp @echo 'It was a quine!' -quine-text = ' +quine-text := ' int printf(const char*, ...); int main() {