linemanjs / lineman

Lineman helps you build fat-client JavaScript apps. It produces happiness by building assets, mocking servers, running specs on every file change
MIT License
1.18k stars 80 forks source link

lineman new --coffee #224

Closed searls closed 10 years ago

searls commented 10 years ago

@itsthatguy raised a great point: we should let the user specify they would like their configuration files Coffee-ified.

I know I would. +1million

jasonkarns commented 10 years ago

Indeed. It has seemed odd to me that we generate coffee for the boilerplate files, but js for the config. I'd think they should be consistent. If we generate js config by default, then our example/boilerplate files should be js to match. And the --coffee flag would cause both the configs and the boilerplate to be coffee.

jayharris commented 10 years ago

Yes. +1million The first thing I do after lineman new is convert the js configuration files to Coffee.

itsthatguy commented 10 years ago

+1 ;)

searls commented 10 years ago

I also think this feature should set a property prefersCoffee: true in the config/application.coffee file, so that other plugins (like lineman-browserify) can know to generate coffee when needed