Update deploy.sh

This commit is contained in:
Manuel Friedli 2016-09-21 02:06:18 +02:00
parent 63d3762922
commit 0944cdb999

View file

@ -25,7 +25,7 @@ fi
rm -rf "${destination}"/* || die "Failed to clean destination directory (step 1)" rm -rf "${destination}"/* || die "Failed to clean destination directory (step 1)"
rm -rf "${destination}"/.??* || die "Failed to clean destination directory (step 2)" rm -rf "${destination}"/.??* || die "Failed to clean destination directory (step 2)"
cp -a dencode.css index.html package.json systemjs.config.js "${destination}" || die "Failed to copy resources to dest/" cp -a index.html package.json systemjs.config.js "${destination}" || die "Failed to copy resources to dest/"
mkdir -p "${destination}/app" || die "Failed to create dest/app directory" mkdir -p "${destination}/app" || die "Failed to create dest/app directory"
cp -a app/*.css app/*.html app/*.js app/*.js.map "${destination}/app" || die "Failed to copy resources to dest/app" cp -a app/*.css app/*.html app/*.js app/*.js.map "${destination}/app" || die "Failed to copy resources to dest/app"