For anyone wondering, the work flow I'm using is:
Create a new game project:
$ cd ~/devkit/projects/
$ basil init <game-name>
Create a coffeescript directory:
$ mkdir ~/devkit/projects/<game-name>/coffee
Watch and auto-compile coffeescript to js and copy to the projects /src directory
$ cd ~/devkit/projects/<game-name>/coffee
$ coffee --watch --compile --output ../src/ .
Run sdk web frontend
$ basil serve
Start hacking at your application.
$ emacs ~/devkit/projects/<game-name>/coffee/Application.coffee
And here is the code:
No comments:
Post a Comment