build: update Windows symlink scripts (#16761)

Fixes packages\upgrade\static\src symlink.

Closes #16760
This commit is contained in:
bisubus 2017-11-03 02:05:13 +03:00 committed by Victor Berchet
parent 65d57a07e0
commit 613a9e3672
2 changed files with 11 additions and 5 deletions

View File

@ -2,6 +2,9 @@
cd `dirname $0`
DESTDIR=./../../packages/core/src/animation
mv ${DESTDIR}/dsl.ts ${DESTDIR}/dsl.ts.old
CORE_SRC_ANIMATION_DIR=./../../packages/core/src/animation
UPGRADE_STATIC_DIR=./../../packages/upgrade/static
mv ${CORE_SRC_ANIMATION_DIR}/dsl.ts ${CORE_SRC_ANIMATION_DIR}/dsl.ts.old
mv ${UPGRADE_STATIC_DIR}/src ${UPGRADE_STATIC_DIR}/src.old
cmd <<< "mklink \"..\\..\\packages\\core\\src\\animation\\dsl.ts\" \"..\\..\\..\\animations\\src\\animation_metadata.ts\""
cmd <<< "mklink /d \"..\\..\\packages\\upgrade\\static\\src\" \"..\\src\""

View File

@ -2,6 +2,9 @@
cd `dirname $0`
DESTDIR=./../../packages/core/src/animation
rm ${DESTDIR}/dsl.ts
mv ${DESTDIR}/dsl.ts.old ${DESTDIR}/dsl.ts
CORE_SRC_ANIMATION_DIR=./../../packages/core/src/animation
UPGRADE_STATIC_DIR=./../../packages/upgrade/static
rm ${CORE_SRC_ANIMATION_DIR}/dsl.ts
rm ${UPGRADE_STATIC_DIR}/src
mv ${CORE_SRC_ANIMATION_DIR}/dsl.ts.old ${CORE_SRC_ANIMATION_DIR}/dsl.ts
mv ${UPGRADE_STATIC_DIR}/src.old ${UPGRADE_STATIC_DIR}/src