refactor(compiler): rename /compiler_cli to /compiler-cli
This commit is contained in:
@@ -3,7 +3,7 @@ set -ex -o pipefail
|
||||
|
||||
# These ones can be `npm link`ed for fast development
|
||||
LINKABLE_PKGS=(
|
||||
$(pwd)/dist/packages-dist/{common,core,compiler,compiler_cli,platform-{browser,server}}
|
||||
$(pwd)/dist/packages-dist/{common,core,compiler,compiler-cli,platform-{browser,server}}
|
||||
$(pwd)/dist/tools/@angular/tsc-wrapped
|
||||
)
|
||||
PKGS=(
|
||||
@@ -18,7 +18,7 @@ PKGS=(
|
||||
TMPDIR=${TMPDIR:-.}
|
||||
readonly TMP=$TMPDIR/e2e_test.$(date +%s)
|
||||
mkdir -p $TMP
|
||||
cp -R -v modules/@angular/compiler_cli/integrationtest/* $TMP
|
||||
cp -R -v modules/@angular/compiler-cli/integrationtest/* $TMP
|
||||
# Try to use the same versions as angular, in particular, this will
|
||||
# cause us to install the same rxjs version.
|
||||
cp -v package.json $TMP
|
||||
@@ -30,10 +30,10 @@ cp -v package.json $TMP
|
||||
# TODO(alexeagle): allow this to be npm link instead
|
||||
npm install ${LINKABLE_PKGS[*]}
|
||||
|
||||
# Compile the compiler_cli integration tests
|
||||
# Compile the compiler-cli integration tests
|
||||
./node_modules/.bin/ngc
|
||||
|
||||
./node_modules/.bin/jasmine init
|
||||
# Run compiler_cli integration tests in node
|
||||
# Run compiler-cli integration tests in node
|
||||
./node_modules/.bin/jasmine test/*_spec.js
|
||||
)
|
||||
|
||||
@@ -34,7 +34,7 @@ echo 'travis_fold:end:test.unit.node'
|
||||
echo 'travis_fold:start:test.unit.localChrome'
|
||||
|
||||
# rebuild to codegen files in @angular/compiler/test
|
||||
node dist/all/@angular/compiler_cli/src/main -p modules/tsconfig.json
|
||||
node dist/all/@angular/compiler-cli/src/main -p modules/tsconfig.json
|
||||
|
||||
# Run unit tests in local chrome
|
||||
if [[ ${TRAVIS} ]]; then
|
||||
|
||||
Reference in New Issue
Block a user