-
Notifications
You must be signed in to change notification settings - Fork 26
/
Gruntfile.js
executable file
·41 lines (40 loc) · 979 Bytes
/
Gruntfile.js
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/**
* Grunt File
*
* @package feedzy-rss-feeds
*/
module.exports = function (grunt) {
grunt.initConfig({
wp_readme_to_markdown: {
files: {
'readme.md': 'readme.txt'
},
},
version: {
project: {
src: [
'package.json'
]
},
style: {
options: {
prefix: 'Version\\:\.*\\s'
},
src: [
'feedzy-rss-feed.php',
'css/feedzy-rss-feeds.css',
]
},
class: {
options: {
prefix: '\\.*version\.*\\s=\.*\\s\''
},
src: [
'includes/feedzy-rss-feeds.php',
]
}
}
});
grunt.loadNpmTasks('grunt-version');
grunt.loadNpmTasks('grunt-wp-readme-to-markdown');
};