From d3c2d1acfaed12c332e02d8bc42ffe0054544971 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Fri, 11 Nov 2016 19:44:25 -0800 Subject: [PATCH] Test before publishing (#61) Add the `test` recipe as a dependency of the `publish` recipe --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index e649832..139bb7e 100644 --- a/justfile +++ b/justfile @@ -19,7 +19,7 @@ check: version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml` -publish: clippy build +publish: clippy test git branch | grep '* master' git diff --no-ext-diff --quiet --exit-code git co -b {{version}}