fix(codegen): codegen all files in the program, not just roots

fixes #8475
This commit is contained in:
Alex Eagle
2016-05-04 15:17:53 -06:00
parent f235454dd6
commit 0d71345b93
4 changed files with 15 additions and 8 deletions

View File

@ -5,5 +5,7 @@ set -e -o pipefail
cd $(dirname $0)
cd $(pwd)/../../..
export NODE_PATH=$NODE_PATH:$(pwd)/dist/all:$(pwd)/dist/tools
node dist/all/@angular/compiler_cli/src/main -p modules/@angular/compiler_cli/integrationtest
node dist/tools/cjs-jasmine -- @angular/compiler_cli/integrationtest/**/*_spec.js
readonly TESTDIR="modules/@angular/compiler_cli/integrationtest"
rm $TESTDIR/src/*.{ngfactory,css.shim}.ts
node dist/all/@angular/compiler_cli/src/main -p $TESTDIR
node dist/tools/cjs-jasmine -- $TESTDIR/**/*_spec.js