Test before publishing (#61)

Add the `test` recipe as a dependency of the `publish` recipe
This commit is contained in:
Casey Rodarmor 2016-11-11 19:44:25 -08:00 committed by GitHub
parent 976c4fd979
commit d3c2d1acfa

View File

@ -19,7 +19,7 @@ check:
version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml` version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml`
publish: clippy build publish: clippy test
git branch | grep '* master' git branch | grep '* master'
git diff --no-ext-diff --quiet --exit-code git diff --no-ext-diff --quiet --exit-code
git co -b {{version}} git co -b {{version}}