mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-06 05:45:48 +00:00
19 lines
205 B
Plaintext
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
|