285727e2fd
* 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)
17 lines
258 B
Bash
Executable File
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
|