Skip to content

Commit c80b8b3

Browse files
committed
Merge pull request #9 from ctalkington/patch-1
add version task for php constant in functions.php.
2 parents 887c293 + 99f6f13 commit c80b8b3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

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)