🛠 Always build before test, test before ship

- Make sure we update our build files before running tests
- This also ensures they get updated before shipping
This commit is contained in:
Hannah Wolfe 2019-03-10 17:25:51 +00:00 committed by Hannah Wolfe
parent 371ad586d3
commit 018423738e
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
"dev": "gulp", "dev": "gulp",
"zip": "gulp zip", "zip": "gulp zip",
"test": "gscan .", "test": "gscan .",
"pretest": "gulp build",
"preship": "yarn test", "preship": "yarn test",
"ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi" "ship": "STATUS=$(git status --porcelain); echo $STATUS; if [ -z \"$STATUS\" ]; then yarn version && git push --follow-tags; fi"
}, },