Skip to content

Add support for Cakefiles! #99

Closed
wants to merge 1 commit into from

1 participant

@aseemk
aseemk commented May 27, 2012

Discussion thread:

http://groups.google.com/group/streamlinejs/browse_thread/thread/71cabdbc8962b030/afcc631faf404b97

In order to not have to manually reimplement much or all of Cake, this pull request achieves Streamlining via the in-file require('streamline/module') directive.

This commit just recognizes Cakefiles as CoffeeScript so that the generated tmp file is outputted with a .coffee extension, which makes things work.

There might be other ways of supporting Streamline in Cakefiles, in particular to avoid the in-file directive, but I'm not sure any are feasible. Still thinking though.

@aseemk aseemk 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.
a0aab94
@aseemk
aseemk commented May 29, 2012

Will re-request this off of dvlp too.

@aseemk aseemk closed this May 29, 2012
@aseemk aseemk referenced this pull request May 29, 2012
Merged

Add support for Cakefiles! #101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.