build: fix paths for examples tests

This commit is contained in:
Jason Aden
2017-03-08 14:48:20 -08:00
parent b74ab83d2c
commit 2b44854885
4 changed files with 32 additions and 32 deletions

View File

@ -17,14 +17,14 @@ $(npm bin)/tsc -p ./tsconfig-build.json
mkdir $DIST/vendor/
ln -s ../../dist/packages-dist/ $DIST/vendor/@angular
ln -s ../../../dist/packages-dist/ $DIST/vendor/@angular
for FILE in \
../../node_modules/angular/angular.js \
../../node_modules/zone.js/dist/zone.js \
../../node_modules/systemjs/dist/system.js \
../../node_modules/reflect-metadata/Reflect.js \
../../node_modules/rxjs
../../../node_modules/angular/angular.js \
../../../node_modules/zone.js/dist/zone.js \
../../../node_modules/systemjs/dist/system.js \
../../../node_modules/reflect-metadata/Reflect.js \
../../../node_modules/rxjs
do
ln -s $FILE $DIST/vendor/`basename $FILE`
done

View File

@ -5,4 +5,4 @@ cd `dirname $0`
gulp serve-examples &
(cd ../../../ && NODE_PATH=$NODE_PATH:dist/all $(npm bin)/protractor protractor-examples-e2e.conf.js --bundles=true)
(cd ../../ && NODE_PATH=$NODE_PATH:dist/all $(npm bin)/protractor protractor-examples-e2e.conf.js --bundles=true)