openethereum/js/scripts/build.sh
Jaco Greeff 285727e2fd Auto-bump js-precompiled on release (#2828)
* Auto-bump js-precompiled on release

* [ci skip] js-precompiled 20161022-232245

* Remove old GitLab tests

* Only move file.ext (get rid of error)

* allow add, commit & push failures (auto-bump)
2016-10-25 09:36:42 +02:00

17 lines
258 B
Bash
Executable File

#!/bin/bash
# change into the js directory (one down from scripts)
pushd `dirname $0`
cd ..
# run build (production) and store the exit code
EXITCODE=0
rm -rf .build
npm run ci:build || EXITCODE=1
# back to root
popd
# exit with exit code
exit $EXITCODE