Reputation: 11338
Is there a way to rename Gruntfile.js itself? Is there are syntax for using an alternatively named Gruntfile.js?
Upvotes: 1
Views: 127
Reputation: 19830
Just use option --gruntfile
in which you can specify the alternative name
Full documentation is available on http://gruntjs.com/using-the-cli
Upvotes: 1
Reputation: 3768
http://gruntjs.com/using-the-cli
--gruntfile
Specify an alternate Gruntfile.
By default, grunt looks in the current or parent directories for the nearest Gruntfile.js or Gruntfile.coffee file.
Upvotes: 3