From 24311b7c0b4ad599609138f5df8faa288419174c Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Wed, 15 May 2019 17:30:47 -0400 Subject: [PATCH] Pass all arguments to `just watch` (#441) --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index bd74400..9c6e9d2 100755 --- a/justfile +++ b/justfile @@ -33,8 +33,8 @@ build: check: cargo check -watch COMMAND='test': - cargo watch --clear --exec {{COMMAND}} +watch +COMMAND='test': + cargo watch --clear --exec "{{COMMAND}}" version := `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml | head -1`