try to fix deploy.sh

This commit is contained in:
Manuel Friedli 2016-09-15 22:14:17 +02:00
parent a77509e678
commit 002062ba57

View file

@ -23,10 +23,10 @@ rm -rf "${destination}/.??*"
cp -a dencode.css index.html package.json systemjs.config.js "${destination}"
mkdir "${destination}/app"
mkdir -p "${destination}/app"
cp -a app/*.css app/*.html app/*.js app/*.js.map "${destination}/app"
mkdir -p "${destination}/node_modules/{core-js/client,zone.js/dist,reflect-metadata,systemjs/dist}"
mkdir -p "${destination}/node_modules/core-js/client" "${destination}node_modules/zone.js/dist" "${destination}/node_modules/reflect-metadata" "${destination}/node_modules/systemjs/dist"
cp -a node_modules/core-js/client/shim.js "${destination}/node_modules/zone.js/dist"
cp -a node_modules/reflect-metadata/Reflect.js "${destination}/node_modules/reflect-metadata"
cp -a node_modules/systemjs/dist/system.src.js "${destination}/node_modules/systemjs/dist"