Showing
1 changed file
with
16 additions
and
16 deletions
@@ -38,12 +38,12 @@ gulp.task('default', ['compass', 'compass-watch', 'spm-doc']); | @@ -38,12 +38,12 @@ gulp.task('default', ['compass', 'compass-watch', 'spm-doc']); | ||
38 | gulp.task('compass', function() { | 38 | gulp.task('compass', function() { |
39 | gulp.src('sass/**/*.scss') | 39 | gulp.src('sass/**/*.scss') |
40 | .pipe( | 40 | .pipe( |
41 | - compass({ | ||
42 | - config_file: 'config.rb', | ||
43 | - css: 'css', | ||
44 | - sass: 'sass' | ||
45 | - }) | ||
46 | - ).on('error', function(error) { | 41 | + compass({ |
42 | + config_file: 'config.rb', | ||
43 | + css: 'css', | ||
44 | + sass: 'sass' | ||
45 | + }) | ||
46 | + ).on('error', function(error) { | ||
47 | console.log(error); | 47 | console.log(error); |
48 | this.emit('end'); | 48 | this.emit('end'); |
49 | }); | 49 | }); |
@@ -95,15 +95,15 @@ gulp.task('assets', function() { | @@ -95,15 +95,15 @@ gulp.task('assets', function() { | ||
95 | gulp.task('compass-production', ['assets'], function() { | 95 | gulp.task('compass-production', ['assets'], function() { |
96 | gulp.src('sass/index.scss') | 96 | gulp.src('sass/index.scss') |
97 | .pipe( | 97 | .pipe( |
98 | - compass({ | ||
99 | - css: distDir.css, | ||
100 | - sass: 'sass', | ||
101 | - image: distDir.img, | ||
102 | - font: distDir.font, | ||
103 | - http_path: '/', | ||
104 | - style: 'compressed' | ||
105 | - }) | ||
106 | - ) | 98 | + compass({ |
99 | + css: distDir.css, | ||
100 | + sass: 'sass', | ||
101 | + image: distDir.img, | ||
102 | + font: distDir.font, | ||
103 | + http_path: '/', | ||
104 | + style: 'compressed' | ||
105 | + }) | ||
106 | + ) | ||
107 | .on('error', function(error) { | 107 | .on('error', function(error) { |
108 | console.log(error); | 108 | console.log(error); |
109 | this.emit('end'); | 109 | this.emit('end'); |
@@ -166,7 +166,7 @@ gulp.task('concat-min-libs', ['pre-libs'], function() { | @@ -166,7 +166,7 @@ gulp.task('concat-min-libs', ['pre-libs'], function() { | ||
166 | 166 | ||
167 | fs.writeFileSync(path, jsStr.substr(jsStr.indexOf('});') + 4)); | 167 | fs.writeFileSync(path, jsStr.substr(jsStr.indexOf('});') + 4)); |
168 | 168 | ||
169 | - return gulp.src(['js/sea.js', distDir.js + '/libs.js']) | 169 | + return gulp.src(['js/plugin/sea.js', distDir.js + '/libs.js']) |
170 | .pipe(concat('lib.js')) | 170 | .pipe(concat('lib.js')) |
171 | .pipe(uglify()) | 171 | .pipe(uglify()) |
172 | .pipe(gulp.dest(distDir.js)); | 172 | .pipe(gulp.dest(distDir.js)); |
-
Please register or login to post a comment