Closed danielbachhuber closed 10 years ago
For a standard gruntfile to make sense, it needs to know the directory stucture of the theme so I added a sample theme that can be used as a starting point.
Another angle we could approach from is to run grunt from within the theme. We could then use a grunt-init template to get set up similar to 10up. To be honest, I think this might be a better approach.
Downsides:
For my version of the grunt-init template see here...
@mattheu does this make sense to merge?
This makes sense to merge if having grunt in the project root is the way to go. This is how we are using it on several projects now.
Anyone else have any opinions on this? @joehoyle or @pdewouters maybe?
It also doesn't prevent an individual theme doing things differently.
Any thoughts?
@mattheu so if a theme or plugin has a Gruntfile with different tasks, it isn't an issue? They can coexist? If so, then yeah
Yes they can co-exist.
I am happy for this to go in, @mattheu feel free to merge if you don't see any outstanding todos.
So that it's easy to Grunt-ify a new project, we should include a standard Gruntfile.js for HM Base.