jhedstrom / grunt-drupal-tasks

Grunt-based build and testing tasks for Drupal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drupal Grunt Build and Testing Tasks

Code Status (master branch):

Requirements

  • Install Node.js v0.10.0 or better either using a package manager like apt-get, brew, or yum or a standalone installer.

  • Once Node.js is installed, use npm to install grunt-cli, the Grunt command line interface, by running:

npm install -g grunt-cli
  • Optional: The example included and some optional features require Composer for installing supporting tools, like Behat, PHP CodeSniffer, and more.

Features

This project is built on the tools of the Grunt community to provide scripted automation of a number of PHP & Drupal tasks. Here are a few examples of what it provides:

  • Drush make-based build workflow
  • CI portability (used with Jenkins so far)
  • Opt-in for a number of great enhancements:
    • Composer dependency management for PHP
    • Bundler dependency management for Ruby
    • PHP code quality & static analysis checks
    • Compass compilation
    • Behat testing
  • Deployment packaging
  • Extensibility: Add or override with your plugins or configuration.

We are continuously working to improve this toolchain, adding functionality that we see as common to our continuous integration and everyday development practices.

Usage

Working on a project that's integrated grunt-drupal-tasks? Run grunt help to view documentation tailored for your project.

To build your Drupal site, run grunt.

Setting Up and Extending

For information on setting up your project with these tools, see CONFIG.md.

For information on extending these tools or contributing changes, see EXTEND.md.

About

Grunt-based build and testing tasks for Drupal

License:MIT License