Builds all projects in a folder recursively to html5 and generates index pages for easy navigation.
By default it will ignore applications which are already built. This behaviour can be set with a command line argument.
If you want to exclude projects from building you can add to the blacklist
array. For example 'net'
in here prevents all the peote-net
projects build from peote-playground.
haxe --run BuildAll.hx ~/code/peote-playground ~/code/peote-playground-html
or to (re)build everything
haxe --run BuildAll.hx ~/code/peote-playground ~/code/peote-playground-html rebuild
You can get some extra debug info with e.g.
haxe --debug --run BuildAll.hx ~/code/peote-playground ~/code/peote-playground-html
You need a web server to test, if you have python installed you can setup a web server locally like so
cd ~/code/peote-playground-html
python -m http.server
Then browse to http://localhost:8000/