Please sign in to comment.
Add support for Streamlined Cakefiles!
In order to not have to manually reimplement much or all of Cake, achieving Streamlining via the in-file require('streamline/module') directive. This change is thus just to recognize Cakefiles as CoffeeScript and output the generated tmp file with a .coffee extension, which makes things work.
- Loading branch information...
Showing with 8 additions and 1 deletion.
|@@ -0,0 +1,6 @@|
|+return if not require('streamline/module')(module)|
|+task 'greet', (options, _) ->|
|+ console.log 'Hello...'|
|+ setTimeout _, 1000|
|+ console.log '...world!'|