/generator-gadget

The Yeoman Generator for Drupal and Grunt Drupal Tasks.

Primary LanguageJavaScriptMIT LicenseMIT

Gadget

The Yeoman Generator for Drupal and Grunt Drupal Tasks

Code Status: Travis CI status Dependency Status npm version

Requirements

npm install -g generator-gadget grunt-cli yo
  • Drupal and some of the development tools bundled with Grunt Drupal Tasks have additional requirements, including PHP, Bundler, Composer, Ruby, and RubyGems.

Usage

To set up a new Drupal project with Grunt Drupal Tasks using Gadget, run:

yo gadget

Features

Gadget will set up a Drupal site project with the site skeleton and tools provided by Grunt Drupal Tasks, including:

  • Installs the latest published version of Grunt Drupal Tasks. (To install the pre-release version of Grunt Drupal Tasks, run yo gadget --use-master.)

  • Allows the user to choose between a Drupal 7 or 8 project.

  • Configures the Drush makefile with the latest core release version.

Additional Resources

  • For information on using Grunt Drupal Tasks after installing with Gadget, see the Grunt Drupal Tasks README.md.