Move sass cache dir to tmp/sass

pull/2328/head
Nicklas Gummesson 10 years ago
parent 796444b32c
commit 11918dfaf5

@ -4,7 +4,7 @@
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "dist/css"
sass_dir = "app/assets/stylesheets/tmp/"
sass_dir = "tmp/sass/"
images_dir = "app/assets/images/"
#javascripts_dir = "lib/assets/javascripts"

@ -12,7 +12,7 @@
src: [
"lib/build/app_config.js",
".sass-cache",
"app/assets/stylesheets/tmp",
"tmp/sass",
"<%= assets_dir %>"
]
}

@ -8,9 +8,9 @@
return {
dist: {
options: {
importPath: 'app/assets/stylesheets/tmp/common',
importPath: 'tmp/sass/common',
sassDir: 'app/assets/stylesheets/tmp',
sassDir: 'tmp/sass',
cssDir: '<%= assets_dir %>/stylesheets',
fontsDir: '<%= assets_dir %>/fonts',

@ -13,7 +13,7 @@
expand: true,
cwd: 'vendor/assets/stylesheets/',
src: ['**/*.css'],
dest: 'app/assets/stylesheets/tmp/vendor/',
dest: 'tmp/sass/vendor/',
rename: function(dest, src) {
return dest + src.replace(/\.css$/, ".scss");
},
@ -40,7 +40,7 @@
expand: true,
cwd: 'app/assets/stylesheets/',
src: ['**/*.css.scss', '**/*.scss'],
dest: 'app/assets/stylesheets/tmp/',
dest: 'tmp/sass/',
rename: function(dest, src) {
return dest + src.replace(/\.css.scss$/, ".scss");
}
@ -51,7 +51,7 @@
expand: true,
cwd: 'vendor/assets/stylesheets/',
src: ['**/*.css.scss', '**/*.scss'],
dest: 'app/assets/stylesheets/tmp/',
dest: 'tmp/sass/',
rename: function(dest, src) {
return dest + src.replace(/\.css.scss$/, ".scss");
}
@ -62,7 +62,7 @@
expand: true,
cwd: 'lib/assets/test/lib/jasmine-1.3.1/',
src: ['**/*.css'],
dest: 'app/assets/stylesheets/tmp/specs/',
dest: 'tmp/sass/specs/',
rename: function(dest, src) {
return dest + src.replace(/\.css$/, ".scss");
}

Loading…
Cancel
Save