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

Adding new feature #66

Closed Antonio-Laguna closed 10 years ago

Antonio-Laguna commented 10 years ago

Now it's possible to add a description to an alias. That will be passed to Grunt.

For example:

default:
  - 'test'
anotherTask:
  description: 'This is an awesome task'
  tasks:
    - 'foo'
    - 'bar'

Will then be passed to grunt so running grunt --help will show the description.

Note that the syntax is not exactly the same as proposed in #39 since registerTask, when receiving three parameters, receive a function and not a task list according to their documentation.

Fixes #39

ismay commented 10 years ago

Has the update been pushed to npm? Because I'm still getting v0.9.2 when using npm update.

jgallen23 commented 10 years ago

Not yet. I'll release it this week

ismay commented 10 years ago

Cool!

jgallen23 commented 10 years ago

this is released in 0.11.0