Skip to content

Instantly share code, notes, and snippets.

@remkus
Created June 23, 2014 07:40
Show Gist options
  • Save remkus/a5ad8efaf347aef8ae97 to your computer and use it in GitHub Desktop.
Save remkus/a5ad8efaf347aef8ae97 to your computer and use it in GitHub Desktop.
module.exports = function( grunt ) {
'use strict';
require( 'matchdep' ).filterDev( 'grunt-*' ).forEach( grunt.loadNpmTasks );
grunt.initConfig({
makepot: {
plugin1: {
options: {
cwd: 'plugins/plugin1',
mainFile: 'plugin1.php',
type: 'wp-plugin'
}
},
plugin2: {
options: {
cwd: 'plugins/plugin2',
mainFile: 'plugin2.php',
type: 'wp-plugin'
}
},
theme1: {
options: {
cwd: 'themes/theme1',
type: 'wp-theme'
}
},
theme2: {
options: {
cwd: 'themes/theme2',
type: 'wp-theme'
}
}
}
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment