firstandthird / load-grunt-config

Grunt plugin that lets you break up your Gruntfile config by task
firstandthird.github.io/load-grunt-config/
MIT License
374 stars 64 forks source link

Support for CSON files #102

Closed danielkcz closed 9 years ago

danielkcz commented 9 years ago

Hey, would it be possible to add? CSON is basically just CoffeeScript, but there is only actual object literal. Instead of...

module.exports = (grunt) ->
    server :
        options :
            port : 9999
            keepalive : false
            hostname  : 'localhost'

There would be just...

server :
    options :
        port : 9999
        keepalive : false
        hostname  : 'localhost'

I know it isn't much, but we are using CSON basically everywhere and having it in here would make it consistent. I might be able to add it by myself with pull request. Just want to know if you are fond of merging in such feature.

jgallen23 commented 9 years ago

Sure. I'll accept a pull request for it

danielkcz commented 9 years ago

Done :)