Reputation: 117
Is this possible to have two Gruntfiles.js in the same folder, one with the default name and second with for example Gruntfile-second.js ? If it is, how can i run the second one?
Upvotes: 2
Views: 285
Reputation: 4716
You can use grunt --gruntfile Gruntfile-second.js
to run the second file.
Upvotes: 6
Reputation: 76229
module.exports = function (grunt) {
require('./Gruntfile-second.js')(grunt);
};
Upvotes: 0