Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tasks/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ module.exports = function(grunt) {

if (dbUrl) {
dbUrl = '--db-url=' + dbUrl;
args.push(dbUrl);
}

grunt.config(['drush', 'install'], {
args: args.concat(['site-install', '-yv', profile, dbUrl]),
args: args.concat(['site-install', '-yv', profile]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jhedstrom it seems like this means the --db-url flag would be serialized into the command before site-install, e.g., drush --db-url=mysql://... site-install -yv standard. Would that work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grayside in testing drush seemed not to care (I had the same thought).

options: _.extend({
}, cmd)
});
Expand Down