Test before publishing (#61)
Add the `test` recipe as a dependency of the `publish` recipe
This commit is contained in:
parent
976c4fd979
commit
d3c2d1acfa
2
justfile
2
justfile
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user