Using Grunt to Manage Drupal Build and Testing Tools


Drupal development is getting more sophisticated. You may use a Drush make file to build a Drupal site instead of checking core code into your repo. You may use Behat to run automated behavioral tests against your site. You may use Compass to compile your Sass files into CSS.

As we add tools to the development process, we need something to make them work together. Enter Grunt Drupal Tasks!

Grunt is a well-supported and flexible JavaScript-based task runner. In the Node.js and front-end worlds, Grunt is widely adopted for automating build and processing tasks (think, linting and minifying JavaScript). In this talk, I'll demonstrate the free and open-source Grunt Drupal Tasks project, which provides a set of common tasks related to building and testing Drupal sites.

By the end of the session, you should:

  • Understand the solutions offered by Grunt Drupal Tasks for common Drupal development problems,
  • Know the tools provided by Grunt Drupal Tasks for building and testing a Drupal site, and
  • Be able to start a new Drupal project using Grunt Drupal Tasks.

This will build on the talk given at BADCamp 2014.


Grunt Drupal Tasks on GitHub:

Gadget on GitHub:


Session Track


Experience Level


Drupal Version

When & Where

Wednesday, 13 May, 2015 - 14:15 to 15:15
515A - Phase 2