11. Why Go With Grunt.JS?
• Grunt.js is built on Node.js
• It’s the most popular task runner
• The community is large (and helpful)
• Thousands of available plugins
• Building custom plugins is really easy
26. How File Matching Works
// Matches a single file
files: 'foo.js'
!
// Matches an array of files
files: [ 'foo.js', 'bar.js' ]
!
// Matches all files in the dir
files: '*'
!
// Matches all files with a given extension in the dir
files: '*.js'
!
// Matches all files with a given extension in all dirs
files: '**/*.js'
!
// Matches all files w/extension in this dir and one dir deeper
files: '{,*/}*.js'
27. Other Cool Links To Check Out
https://www.npmjs.org/package/grunt-wordpress-deploy
Deploy a Wordpress instance without pain using Grunt.
you can define different environments.
Adapt the Wordpress database to the destination domain.
28. Other Cool Links To Check Out
https://github.com/10up/grunt-wp-plugin
Create a WordPress plugin with grunt-init.
https://github.com/10up/grunt-wp-theme
Create a WordPress THEME with grunt-init.
29. Other Cool Links To Check Out
https://github.com/roots/roots
WordPress starter theme based on HTML5 Boilerplate &
Bootstrap
https://mondaybynoon.com/grunt-wordpress-theme-development/
MORE READING!
30. THANK YOU.
David “SHOULD HAVE HAD A V8” Bisset
davidbisset.com / @dimensionmedia