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

14 lines
368 B
Bash
Executable File

#!/bin/bash
set -e
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_modules/.bin/gulp enforce-format
./node_modules/.bin/gulp build.js
./node_modules/.bin/gulp docs