ScriptsΒΆ
In the ‘scripts’ directory there are utilities for compilation, running and testing Plezuro.
| Name | Action | Example |
|---|---|---|
| build.sh | building Java source code into .class files | scripts/build.sh |
| clear.sh | deleting all generated output files | scripts/clear.sh |
| deploy_js.sh | compiling single script (into ‘bin’ directory) for plezuro files, copying for other files, recursive running the same script for the directories |
scripts/deploy_js.sh src/plezuro/tests/1.plez |
| export_jar.sh | exporting .class files into single .jar | scripts/export_jar.sh |
| make.sh | build.sh, export_jar.sh, copying .jar file into ‘/usr/bin/’, make_js.sh |
scripts/make.sh |
| make_js.sh | make_js_lib.sh, compiling all Plezuro scripts from ‘src/plezuro’ to ‘bin/js’ |
scripts/make_js.sh |
| make_js_lib.sh | joining all Javascript libraries into bin/js/plezuro.js | scripts/make_js_lib.sh |
| test.sh | testing Plezuro scripts | scripts/test.sh |
As you can see, some of these scripts invoke others. So to do all you need, just run three of them:
scripts/clear.sh
scripts/make.sh
scripts/test.sh
These three are not combined into one at reason of not mixing their outputs.