Pass all arguments to just watch (#441)

This commit is contained in:
Casey Rodarmor 2019-05-15 17:30:47 -04:00 committed by GitHub
parent d9986a393c
commit 24311b7c0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,8 +33,8 @@ build:
check: check:
cargo check cargo check
watch COMMAND='test': watch +COMMAND='test':
cargo watch --clear --exec {{COMMAND}} 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`