This repository was archived by the owner on Mar 26, 2018. It is now read-only.
File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ module.exports = function (grunt) {
36
36
coffeeTest : {
37
37
files : [ 'test/spec/{,*/}*.coffee' ] ,
38
38
tasks : [ 'coffee:test' ]
39
- } ,
39
+ } , < % if ( compassBootstrap ) { % >
40
40
compass : {
41
41
files : [ '<%%= yeoman.app %>/styles/{,*/}*.{scss,sass}' ] ,
42
42
tasks : [ 'compass:server' ]
43
- } ,
43
+ } , < % } % >
44
44
livereload : {
45
45
options : {
46
46
livereload : LIVERELOAD_PORT
@@ -136,7 +136,7 @@ module.exports = function (grunt) {
136
136
ext : '.js'
137
137
} ]
138
138
}
139
- } ,
139
+ } , < % if ( compassBootstrap ) { % >
140
140
compass : {
141
141
options : {
142
142
sassDir : '<%%= yeoman.app %>/styles' ,
@@ -157,7 +157,7 @@ module.exports = function (grunt) {
157
157
debugInfo : true
158
158
}
159
159
}
160
- } ,
160
+ } , < % } % >
161
161
// not used since Uglify task does concat,
162
162
// but still available if needed
163
163
/*concat: {
@@ -259,16 +259,16 @@ module.exports = function (grunt) {
259
259
} ,
260
260
concurrent: {
261
261
server : [
262
- 'coffee:dist' ,
263
- 'compass:server'
262
+ 'coffee:dist' < % if ( compassBootstrap ) { % > ,
263
+ 'compass:server' < % } % >
264
264
] ,
265
265
test : [
266
- 'coffee' ,
267
- 'compass'
266
+ 'coffee' < % if ( compassBootstrap ) { % > ,
267
+ 'compass' < % } % >
268
268
] ,
269
269
dist : [
270
- 'coffee' ,
271
- 'compass:dist' ,
270
+ 'coffee ', < % if ( compassBootstrap ) { % >
271
+ 'compass:dist',< % } % >
272
272
'imagemin',
273
273
'htmlmin'
274
274
]
You can’t perform that action at this time.
0 commit comments