https://github.com/angular/angular
Raw File
Tip revision: 91f7aa3b154e93e72e16e40b003919f5ff9acd8b authored by Chuck Jazdzewski on 05 October 2016, 22:51:49 UTC
docs(CHANGELOG): add changelog for 2.0.2
Tip revision: 91f7aa3
test.sh
#!/usr/bin/env bash

set -e -o pipefail

if [ $# -eq 0 ]
  then
    echo "Angular test runner. (No platform specified)"
    echo
    echo "./test.sh [node|browser|browserNoRouter|router|tools]"
    echo
else
  cd `dirname $0`
  rm -rf dist/tools
  rm -rf dist/all
  if [ -z ${NODE_PATH+x} ]; then
    export NODE_PATH=$(pwd)/dist/all:$(pwd)/dist/tools
  else
    export NODE_PATH=$NODE_PATH:$(pwd)/dist/all/:$(pwd)/dist/tools/
  fi
  $(npm bin)/tsc -p tools
  node dist/tools/tsc-watch/ $1 watch
fi


back to top