Skip to content

Commit 6b54da3

Browse files
committed
ignore stylesheets
1 parent 1e2cde1 commit 6b54da3

3 files changed

Lines changed: 6 additions & 91 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ tmp/
3232
# www/
3333
www/article
3434
www/task
35+
www/stylesheets
3536

3637
# Bower stuff.
3738
bower_components/
3839

3940
# Passwords and other secret stuff
40-
config/secret.js
41+
config/secret.js

tasks/sprite.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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
});

www/stylesheets/base.css

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)