Created
July 13, 2017 18:02
-
-
Save grayside/61cc12364c80f524d5329f47d2956e97 to your computer and use it in GitHub Desktop.
Customize the `grunt install` command's drush site-install line for your project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Customized site install routine. | |
* | |
* Used as part of grunt install. | |
* | |
* Place this file wherever custom grunt-drupal-tasks plugins are loaded, such as bin/grunt for an Outrigger Drupal project. | |
*/ | |
module.exports = function(grunt) { | |
// Modify the drush site-install component of the routine. | |
var config = grunt.config.get('drush.install'); | |
config.args.push('--site-name="Project Name"'); | |
grunt.config.set('drush.install', config); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment