#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/../.. echo "====== Testing ======" echo "====== Build ======" if [ "$CI" = "true" ]; then echo "Building testing for production" npm run ng -- build testing --prod || exit 1 else echo "Building testing for development" npm run ng -- build testing || exit 1 fi