-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathGruntfile.js
More file actions
25 lines (23 loc) · 765 Bytes
/
Copy pathGruntfile.js
File metadata and controls
25 lines (23 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pot: {
options:{
text_domain: 'user-access-manager', //Your text domain. Produces my-text-domain.pot
dest: 'languages/', //directory to place the pot file
keywords: ['gettext', '__'] //functions to look for
},
files:{
src: [
'src/**/*.php',
'includes/**/*.php'
], //Parse all php files
expand: true
}
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-pot');
// Default task(s).
grunt.registerTask('default', ['pot']);
};