build: update symlink scripts for Windows (#14987)

This commit is contained in:
Marc Laval 2017-03-16 01:13:54 +01:00 committed by Chuck Jazdzewski
parent 013d806b79
commit dd36d413ba
3 changed files with 6 additions and 28 deletions

View File

@ -2,10 +2,6 @@
cd `dirname $0` cd `dirname $0`
while read RAW_PACKAGE || [[ -n "$RAW_PACKAGE" ]] DESTDIR=./../../packages/core/src/animation
do mv ${DESTDIR}/dsl.ts ${DESTDIR}/dsl.ts.old
PACKAGE=${RAW_PACKAGE%$'\r'} cmd <<< "mklink \"..\\..\\packages\\core\\src\\animation\\dsl.ts\" \"..\\..\\..\\animations\\src\\animation_metadata.ts\""
DESTDIR=./../../modules/\@angular/${PACKAGE}
mv ${DESTDIR}/facade ${DESTDIR}/facade.old
cmd <<< "mklink \"..\\..\\modules\\\@angular\\"${PACKAGE}"\\facade\" \"..\\..\\facade\\src\\\""
done < packages.txt

View File

@ -1,14 +0,0 @@
benchpress/src
common/src
compiler/src
compiler/testing
core/src
core/testing
forms/src
platform-browser/src
platform-browser/testing
platform-browser-dynamic/src
platform-server/src
platform-webworker/src
platform-webworker-dynamic/src
upgrade/src

View File

@ -2,10 +2,6 @@
cd `dirname $0` cd `dirname $0`
while read RAW_PACKAGE || [[ -n "$RAW_PACKAGE" ]] DESTDIR=./../../packages/core/src/animation
do rm ${DESTDIR}/dsl.ts
PACKAGE=${RAW_PACKAGE%$'\r'} mv ${DESTDIR}/dsl.ts.old ${DESTDIR}/dsl.ts
DESTDIR=./../../modules/\@angular/${PACKAGE}
rm ${DESTDIR}/facade
mv ${DESTDIR}/facade.old ${DESTDIR}/facade
done < packages.txt