Skip to content

Commit 86d9471

Browse files
committed
Updated paths to sync workflow with theme config a bit
Great, gonna have to do another major version now…lol…sorry to anyone who pays any attention to this repo. It’s all pretty experimental in here.
1 parent 103fb88 commit 86d9471

File tree

2 files changed

+17
-21
lines changed

2 files changed

+17
-21
lines changed

config/grunt/clean.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,17 @@
22
module.exports = {
33
css: {
44
src: [
5-
'<%= paths.cssDist %>',
6-
'<%= paths.cssVend %>'
5+
'<%= paths.cssDist %>'
76
]
87
},
98
fonts: {
109
src: [
11-
'<%= paths.fontsDist %>',
12-
'<%= paths.fontsVend %>'
10+
'<%= paths.fontsDist %>'
1311
]
1412
},
1513
js: {
1614
src: [
17-
'<%= paths.jsDist %>',
18-
'<%= paths.jsVend %>'
15+
'<%= paths.jsDist %>'
1916
]
2017
},
2118
images: {

index.js

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ module.exports = function() {
1010
assets: 'assets/',
1111
languages: 'languages/',
1212
release: 'release/',
13-
jsSrc: 'js/src/',
14-
jsVend: 'js/src/vendor/',
15-
jsDist: 'js/dist/',
16-
cssSrc: 'css/src/',
17-
cssVend: 'css/src/vendor/',
18-
cssDist: 'css/dist/',
19-
fontsSrc: 'fonts/src/',
20-
fontsVend: 'fonts/src/vendor/',
21-
fontsDist: 'fonts/dist/',
22-
imagesSrc: 'images/src/',
23-
imagesDist: 'images/dist/',
24-
bower: 'bower/',
13+
jsSrc: 'assets/plugin/js/',
14+
jsVend: 'js/vendor/',
15+
jsDist: 'js/',
16+
cssSrc: 'assets/plugin/css/',
17+
cssDist: 'css/',
18+
cssVend: 'css/vendor/',
19+
fontsSrc: 'assets/plugin/fonts/',
20+
fontsDist: 'fonts/',
21+
fontsVend: 'fonts/vendor/',
22+
imagesSrc: 'assets/plugin/images/',
23+
imagesDist: 'images/',
24+
imagesVend: 'images/vendor/',
25+
bower: 'assets/bower/',
2526
grunt: 'config/grunt/',
2627
tasks: 'tasks/'
2728
};
@@ -35,9 +36,7 @@ module.exports = function() {
3536
project.taskMap = {
3637
addtextdomain: 'grunt-wp-i18n',
3738
readpkg: 'sitecare-plugin-config',
38-
makepot: 'grunt-wp-i18n',
39-
usebanner: 'grunt-banner',
40-
wpcss: 'grunt-wp-css'
39+
makepot: 'grunt-wp-i18n'
4140
};
4241

4342
project.files = {

0 commit comments

Comments
 (0)