File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232# www/
3333www /article
3434www /task
35+ www /stylesheets
3536
3637# Bower stuff.
3738bower_components /
3839
3940# Passwords and other secret stuff
40- config /secret.js
41+ config /secret.js
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ module.exports = function() {
1818 var spriteData = gulp . src ( path . join ( 'dir' , '*' ) )
1919 . pipe ( spritesmith ( {
2020 engine : 'pngsmith' ,
21- imgName : path . basename ( dir . path ) + '.png' ,
21+ imgName : path . basename ( dir . path ) + '.png' , // social.sprite -> social.png
2222 cssName : 'sprite.styl' ,
2323 cssFormat : 'stylus' ,
2424 cssTemplate : path . join ( __dirname , 'stylus.template.mustache' ) ,
@@ -30,8 +30,9 @@ module.exports = function() {
3030 }
3131 } ) ) ;
3232
33- // spriteData.img.pipe(gulp.dest('./spr/img'));
34- // spriteData.css.pipe(gulp.dest('./spr/css'));
33+
34+ spriteData . img . pipe ( gulp . dest ( './spr/img' ) ) ;
35+ spriteData . css . pipe ( gulp . dest ( './spr/css' ) ) ; // sprite.styl
3536//
3637//};
3738 } ) ;
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments