Clean the sass cache directory from Gruntfile
This commit is contained in:
parent
26080215fd
commit
12b806ae5b
10
Gruntfile.js
10
Gruntfile.js
@ -66,7 +66,8 @@ module.exports = function (grunt) {
|
|||||||
},
|
},
|
||||||
|
|
||||||
clean: {
|
clean: {
|
||||||
app: './static/app'
|
app: './static/app',
|
||||||
|
compass: './sass-cache'
|
||||||
},
|
},
|
||||||
|
|
||||||
compass: {
|
compass: {
|
||||||
@ -74,7 +75,7 @@ module.exports = function (grunt) {
|
|||||||
options: {
|
options: {
|
||||||
sassDir: 'assets/style',
|
sassDir: 'assets/style',
|
||||||
cssDir: 'static/style',
|
cssDir: 'static/style',
|
||||||
cacheDir: 'tmp/sass-cache',
|
cacheDir: './sass-cache',
|
||||||
importPath: ['vendor/normalize-scss']
|
importPath: ['vendor/normalize-scss']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -101,10 +102,11 @@ module.exports = function (grunt) {
|
|||||||
|
|
||||||
grunt.registerTask('test', ['jshint', 'jscs', 'karma']);
|
grunt.registerTask('test', ['jshint', 'jscs', 'karma']);
|
||||||
grunt.registerTask('dev', ['default']);
|
grunt.registerTask('dev', ['default']);
|
||||||
|
grunt.registerTask('style', ['compass', 'clean:compass']);
|
||||||
|
|
||||||
grunt.registerTask('default', [
|
grunt.registerTask('default', [
|
||||||
'clean',
|
'clean:app',
|
||||||
'compass',
|
'style',
|
||||||
'handlebars',
|
'handlebars',
|
||||||
'copy',
|
'copy',
|
||||||
'requirejs',
|
'requirejs',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user