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

14 lines
273 B
Bash
Executable File

#!/bin/bash
set -e
MODE=$1
echo =============================================================================
# go to project dir
SCRIPT_DIR=$(dirname $0)
cd $SCRIPT_DIR/../..
${SCRIPT_DIR}/build_$MODE.sh
${SCRIPT_DIR}/test_unit_$MODE.sh
${SCRIPT_DIR}/test_e2e_$MODE.sh