Skip to content

Commit

Permalink
Implement grunt-glotpress for #2253
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Oct 29, 2014
1 parent 96e10a5 commit 0b5ad19
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Gruntfile.js
Expand Up @@ -52,13 +52,24 @@ module.exports = function (grunt) {
files: ['sources/ui/css/**/*.scss'],
tasks: ["sass"]
}
},
glotpress_download : {
core : {
options : {
domainPath : 'languages',
url : 'http://wp-translate.org',
slug : 'pods',
textdomain : 'pods'
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-imagemin');
grunt.loadNpmTasks('grunt-glotpress');

grunt.registerTask('default', ['sass', 'imagemin']);
grunt.registerTask('production', ['sass', 'imagemin', 'uglify'])
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -21,6 +21,7 @@
"grunt-contrib-sass": "~0.6.0",
"grunt-contrib-watch": "~0.5.3",
"grunt-contrib-uglify": "~0.2.2",
"grunt-contrib-imagemin": "^0.6.1"
"grunt-contrib-imagemin": "^0.6.1",
"grunt-glotpress": "^0.1.1"
}
}

0 comments on commit 0b5ad19

Please sign in to comment.