angular-cn/scripts/ci/build_js.sh

12 lines
343 B
Bash
Executable File

#!/bin/bash
set -ex
echo =============================================================================
# go to project dir
SCRIPT_DIR=$(dirname $0)
# this is needed because we're running JS tests in Dartium too
source $SCRIPT_DIR/env_dart.sh
cd $SCRIPT_DIR/../..
node --max-old-space-size=2000 ./node_modules/.bin/gulp build.js --useBundles