You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
command -v tsc >/dev/null 2>&1|| { echo>&2"The typescript compiler is not installed";exit 1; }
command -v yuicompressor >/dev/null 2>&1|| { echo>&2"Yuicompressor is not installed";exit 1; }
command -v 7za >/dev/null 2>&1|| { echo>&2"7zip is not installed";exit 1; }
### Update the version written in the cacheManifest.mf file to force update of the whole game (see https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache )
cd pythonScripts
python updateCacheManifestVersion.py
cd ..
### Generate genAscii.ts and genText.ts from the ascii and text files
### They will be added in the code/gen dir
cd pythonScripts
python genAscii.py
python genText.py
cd ..
### Compile the game using tsc
### It will generate the candybox2_uncompressed.js.temp script