Grunt is now used by Rogo to do certain tasks quickly, such as minimifying Javascript and CSS.

How to install

  1. Install npm
  2. Install the Grunt cli using: 

    npm install -g grunt-cli


  3. From the Rogo root directory install the npm packages for Rogo: 

    npm install


How to use

If you run the following command from the root Rogo directory: 

grunt

Grunt will run all it's default tasks which at the current time include:

It is also possible to run a subset of the Grunt tasks by specifying a task explicitly, for example: 

grunt css

will only minify all the CSS.

To find out which tasks are available examin the Gruntfile.js and look for grunt.registerTask() calls

Documentation