build: update the symlinks scripts for Windows to new packaging (#11192)

This commit is contained in:
Marc Laval 2016-09-06 19:25:59 +02:00 committed by Martin Probst
parent 70b0ab457b
commit 5ee0f09b92
3 changed files with 16 additions and 11 deletions

View File

@ -5,7 +5,7 @@ cd `dirname $0`
while read RAW_PACKAGE while read RAW_PACKAGE
do do
PACKAGE=${RAW_PACKAGE: : -1} PACKAGE=${RAW_PACKAGE: : -1}
DESTDIR=./../../modules/\@angular/${PACKAGE}/src DESTDIR=./../../modules/\@angular/${PACKAGE}
mv ${DESTDIR}/facade ${DESTDIR}/facade.old mv ${DESTDIR}/facade ${DESTDIR}/facade.old
cmd <<< "mklink \"..\\..\\modules\\\@angular\\"${PACKAGE}"\\src\\facade\" \"..\\..\\facade\\src\\\"" cmd <<< "mklink \"..\\..\\modules\\\@angular\\"${PACKAGE}"\\facade\" \"..\\..\\facade\\src\\\""
done < packages.txt done < packages.txt

View File

@ -1,8 +1,13 @@
common common/src
compiler compiler/src
core compiler/testing
forms core/src
http core/testing
platform-browser forms/src
platform-browser-dynamic http/src
platform-server platform-browser/src
platform-browser/testing
platform-browser-dynamic/src
platform-server/src
platform-webworker/src
platform-webworker-dynamic/src

View File

@ -5,7 +5,7 @@ cd `dirname $0`
while read RAW_PACKAGE while read RAW_PACKAGE
do do
PACKAGE=${RAW_PACKAGE: : -1} PACKAGE=${RAW_PACKAGE: : -1}
DESTDIR=./../../modules/\@angular/${PACKAGE}/src DESTDIR=./../../modules/\@angular/${PACKAGE}
rm ${DESTDIR}/facade rm ${DESTDIR}/facade
mv ${DESTDIR}/facade.old ${DESTDIR}/facade mv ${DESTDIR}/facade.old ${DESTDIR}/facade
done < packages.txt done < packages.txt