All Projects → guardian → Sbt Grunt Plugin

guardian / Sbt Grunt Plugin

For kicking off grunt tasks from inside sbt

Programming Languages

scala
5932 projects

sbt-grunt-plugin

An sbt plugin to wrap Grunt tasks and expose them as sbt tasks.

This plugin provides a gruntTask function will return an sbt task wrapping the Grunt task with the given name. You can use it to add steps to your compile or test setup in your build.sbt file, e.g.:

 (compile in Compile) <<= (compile in Compile) dependsOn (gruntTask("requirejs"))

This plugin also exposes a grunt command which can be called from the sbt console:

 > grunt jshint  # run the "jshint" grunt task
 
 Running "jshint" (jshint) task
 >> 150 files lint free.
 
 Done, without errors.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].