From 018423738e2eb26fcc5a9b8eff6db8944b36617e Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Sun, 10 Mar 2019 17:25:51 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=20Always=20build=20before=20test,?= =?UTF-8?q?=20test=20before=20ship?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Make sure we update our build files before running tests - This also ensures they get updated before shipping --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 3c701a9..d2d4a37 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "dev": "gulp", "zip": "gulp zip", "test": "gscan .", + "pretest": "gulp build", "preship": "yarn test", "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi" },