angular-docs-cn/scripts/ci/build_js.sh

13 lines
328 B
Bash
Raw Normal View History

#!/bin/bash
set -e
echo =============================================================================
# go to project dir
SCRIPT_DIR=$(dirname $0)
2015-02-13 17:59:29 -05:00
# this is needed because we're running JS tests in Dartium too
source $SCRIPT_DIR/env_dart.sh
cd $SCRIPT_DIR/../..
./node_modules/.bin/gulp build.js
./node_modules/.bin/gulp docs