pulsar/script/cibuild

19 lines
379 B
Plaintext
Raw Normal View History

#!/bin/sh
2012-08-31 21:43:21 +04:00
2013-06-21 02:26:00 +04:00
set -e
cd "$(dirname "$0")/.."
rm -rf ~/.atom
2013-05-29 21:01:33 +04:00
git clean -dff
2013-06-21 02:41:23 +04:00
2013-10-04 08:42:15 +04:00
ATOM_CREDENTIALS_FILE=/var/lib/jenkins/config/atomcredentials
if [ -f $ATOM_CREDENTIALS_FILE ]; then
. $ATOM_CREDENTIALS_FILE
export ATOM_ACCESS_TOKEN=$ATOM_ACCESS_TOKEN # make it visibile to grunt.
fi
./script/bootstrap
./node_modules/.bin/apm clean
./node_modules/.bin/grunt ci --stack --no-color