Files
xahau.js/scripts/publish
2017-11-03 15:30:41 -07:00

19 lines
205 B
Plaintext

echo "PUBLISH"
function exit_on_error {
res=$?
[[ ${res:-99} -eq 0 ]] || exit $res
}
rm -rf build
yarn install
gulp
yarn test
exit_on_error
echo ""
echo "publish to npm"
yarn publish
exit_on_error