assets/shell/deploy-all.sh:main(): cd into asciiblaster-${_build}/ prior to calling deployment script.

assets/shell/deploy-nwjs.sh, asciiblaster-nw/deploy.sh: renamed to assets/shell/deploy-nw.sh.
This commit is contained in:
Lucio Andrés Illanes Albornoz 2018-11-23 20:03:26 +01:00
parent 114e34eef0
commit 4d09571092
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
../assets/shell/deploy-nwjs.sh ../assets/shell/deploy-nw.sh

View File

@ -23,11 +23,13 @@ main() {
shift $((${OPTIND}-1)); shift $((${OPTIND}-1));
for _build in cordoba nwjs www; do for _build in cordoba nwjs www; do
msgf "Deploying ${_build}..."; msgf "Deploying ${_build}...";
cd "asciiblaster-${_build}";
if [ "${_vflag:-0}" -eq 0 ]; then if [ "${_vflag:-0}" -eq 0 ]; then
./assets/shell/deploy-${_build}.sh "${@}"; ./deploy.sh "${@}";
else else
./assets/shell/deploy-${_build}.sh -v "${@}"; ./deploy.sh -v "${@}";
fi; fi;
cd "${OLDPWD}";
msgf "Deployed ${_build}."; msgf "Deployed ${_build}.";
done; done;
}; };