Skip to content

Commit 99f6f13

Browse files
committed
add version task for php constant in functions.php.
1 parent 887c293 commit 99f6f13

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

config/grunt/version.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ module.exports = {
1111
'bower.json'
1212
]
1313
},
14+
functions: {
15+
options: {
16+
prefix: 'THEME_VERSION\'\,\\s+\''
17+
},
18+
src: [
19+
'functions.php'
20+
]
21+
},
1422
style: {
1523
options: {
1624
prefix: '\\s+\\*\\s+Version:\\s+'

0 commit comments

Comments
 (0)