indieisaconcept / grunt-context

Give grunt some some context, provide named configs for common options and override individual options via the command line
MIT License
15 stars 1 forks source link

Allow context to run in override only mode #3

Closed indieisaconcept closed 12 years ago

indieisaconcept commented 12 years ago

Allow context to run but not result in a task execution instead allow it to be used inside a task to change the context.

grunt.registerTask('default', 'context:dev jasmine lint');

Above would ensure that the context for each of the tasks run would be dev.