Skip to content

Migrating to the Flambe command

Bruno Garcia edited this page Jul 21, 2013 · 2 revisions

The flambe command in 3.1.0 is a much improved replacement to the old wafl build system. The new workflow is something like:

  1. Run flambe serve in one terminal to start a development http server and enable live-reloading.
  2. 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.

Clone this wiki locally