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:
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`