-
Notifications
You must be signed in to change notification settings - Fork 117
Migrating to the Flambe command
The flambe
command in 3.1.0 is a much improved replacement to the old wafl
build system. The new workflow is something like:
- Run
flambe serve
in one terminal to start a development http server and enable live-reloading. - Run
flambe run <platform> [--debug]
in a second terminal to build and launch the game. For the html and flash platforms, it will automatically launch or refresh a browser window.
Instead of a wscript file, project configuration is in a file called flambe.yaml. You can use flambe new ./test
to create a test project and copy out its flambe.yaml, editing it to your existing projects. You should also make sure your project has a web/ directory. If you use FlashDevelop, the Project.hxml file can be copied into your own projects.
Building iOS apps with the flambe command isn't supported yet. That'll be added in an upcoming patch release.
wafl will be removed in the next version of Flambe, so make sure you migrate your projects soon! As always, if you find a bug, open an issue.
Flambe | Installation | FAQ | Changes | API Reference | Forum