Titanium CoffeeScript Plugin

by Bill Dawson on 18 April 2011

I’ve created a small plugin for Titanium Mobile which will scan your Resources/ folder (and sub-folders) at build time and, if it finds any CoffeeScript .coffee files, will run the coffee compiler on them to produce the .js files. Since build plugins run before the platform-specific build system kicks in, this actually works.

Find the project on GitHub at:


The README includes installation information. The short video below shows examples of installation and use.

NOTE: This is not an official Appcelerator project or utility. Do not request support from Appcelerator. Instead, feel free to file a ticket in the Issues section of the GitHub project, and I’ll try my best to respond in a timely fashion.

Bill Dawson April 19, 2011 at 10:34 am

Thank you, Mathieu.

No, I haven’t considered that, and probably won’t. But it’s a great reason for someone to fork! 🙂

Mathieu Ravaux April 19, 2011 at 9:55 am

Thanks, this is seriously cool !

I imagine that is a stretch and probably not possible to implement simply as a Titanium plugin, but have you examined the required changes to support a line number mapping between the Coffeescript and Javascript sources ?

Comments on this entry are closed.

Previous post:

Next post: