Permalink
Browse files

added po2mo to gruntfile

  • Loading branch information...
1 parent 591420a commit 0a2b66b22937b0d67325216eef7f4f3fbbbc74a7 Pete Nelson committed Nov 25, 2015
Showing with 10 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +8 −0 Gruntfile.js
  3. +1 −0 package.json
View
@@ -2,3 +2,4 @@
npm-debug.log
node_modules
release
+.mo
View
@@ -12,6 +12,13 @@ module.exports = function( grunt ) {
}
},
+ po2mo: {
+ files: {
+ src: 'lang/*.po',
+ expand: true,
+ }
+ },
+
clean: {
wp: [ "release" ]
},
@@ -49,6 +56,7 @@ module.exports = function( grunt ) {
'grunt-contrib-clean',
'grunt-contrib-copy',
'grunt-wp-i18n',
+ 'grunt-po2mo'
];
for ( var i = 0; i < tasks.length; i++ ) {
View
@@ -24,6 +24,7 @@
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.7.0",
"grunt-contrib-copy": "^0.8.2",
+ "grunt-po2mo": "^0.1.2",
"grunt-wp-i18n": "^0.5.3"
}
}

0 comments on commit 0a2b66b

Please sign in to comment.