From 22a97b3e86e66f136a25a033952f84b036a94542 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Sat, 12 Nov 2016 09:21:37 -0800 Subject: [PATCH] Lint when publishing (#78) --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 8ff02e3..151a4a8 100644 --- a/justfile +++ b/justfile @@ -19,7 +19,7 @@ check: version = `sed -En 's/version[[:space:]]*=[[:space:]]*"([^"]+)"/v\1/p' Cargo.toml` -publish: clippy test +publish: lint clippy test git branch | grep '* master' git diff --no-ext-diff --quiet --exit-code git co -b {{version}}