Skip to content

Commit 87b3119

Browse files
committed
Added Grunt.
1 parent d17d445 commit 87b3119

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

Gruntfile.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = function( grunt ) {
2+
// Project configuration.
3+
grunt.initConfig( {
4+
// Package
5+
pkg: grunt.file.readJSON( 'package.json' ),
6+
7+
// Make POT
8+
makepot: {
9+
target: {
10+
options: {
11+
cwd: '',
12+
domainPath: 'languages',
13+
type: 'wp-plugin',
14+
exclude: [],
15+
}
16+
}
17+
},
18+
} );
19+
20+
grunt.loadNpmTasks( 'grunt-wp-i18n' );
21+
22+
// Default task(s).
23+
grunt.registerTask( 'pot', [ 'makepot' ] );
24+
};

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"name": "gravityforms",
3+
"version": "1.8.18",
4+
"description": "Easily create web forms and manage form entries within the WordPress admin.",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/gravityforms/gravityforms.git"
8+
},
9+
"author": "",
10+
"license": "GPL",
11+
"bugs": {
12+
"url": "https://github.com/gravityforms/gravityforms/issues"
13+
},
14+
"homepage": "https://github.com/gravityforms/gravityforms",
15+
"devDependencies": {
16+
"grunt": "^0.4.5",
17+
"grunt-wp-i18n": "^0.4.9"
18+
}
19+
}

0 commit comments

Comments
 (0)