Update to use ruby-sass over just sass. It's way less buggy.

This commit is contained in:
mrmrs 2014-01-29 03:36:11 -08:00
parent d758d52598
commit 81244ed4fe
3 changed files with 2433 additions and 5463 deletions

7887
css/i.css

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,7 @@ var gulp = require('gulp'),
prefix = require('gulp-autoprefixer'),
minifyCSS = require('gulp-minify-css'),
uglify = require('gulp-uglify'),
sass = require('gulp-sass'),
sass = require('gulp-ruby-sass'),
imagemin = require('gulp-imagemin'),
svgmin = require('gulp-svgmin'),
jshint = require('gulp-jshint'),
@ -81,7 +81,7 @@ gulp.task('csslint', function(){
gulp.task('pre-process', function(){
gulp.src('./sass/i.scss')
.pipe(watch(function(files) {
return files.pipe(sass({includePaths: ['./sass/']}))
return files.pipe(sass({loadPath: ['./sass/'], style: "compact"}))
.pipe(prefix())
.pipe(gulp.dest('./css/'))
.pipe(livereload(server));
@ -101,6 +101,7 @@ gulp.task('pre-process', function(){
*/
gulp.task('default', function(){
gulp.run('pre-process', 'csslint', 'jshint');
server.listen(35729, function (err) {
gulp.watch(['./sass/*.scss', './js/*.js'], function(event) {
gulp.run('pre-process', 'csslint', 'jshint');

View file

@ -29,9 +29,9 @@
"gulp-uglify": "~0.1.0",
"gulp-jshint": "~1.3.4",
"gulp-imagemin": "~0.1.4",
"gulp-sass": "~0.4.1",
"jshint-stylish": "~0.1.5",
"gulp-svgmin": "~0.4.1",
"gulp-autoprefixer": "0.0.5"
"gulp-autoprefixer": "0.0.5",
"gulp-ruby-sass": "~0.2.0"
}
}