Skip to content

Commit

Permalink
Removed Debug messages. Removed Fill element on path tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Stexxen committed Jun 13, 2015
1 parent 684d902 commit 121c334
Show file tree
Hide file tree
Showing 2 changed files with 1,156 additions and 1,158 deletions.
8 changes: 3 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ gulp.task('pull', function (cb) {

gulp.task('build-community', ['pull'], function() {
return gulp.src(path.join(ICONSRC_COMMUNITY, '**', '*.svg'))
.pipe(print())
.pipe(xmlEdit(function (doc) {
delete doc.svg.$;

Expand All @@ -70,6 +69,8 @@ gulp.task('build-community', ['pull'], function() {

test.g.$ = {id: 'REPLACEME'};

delete test.g.path[0].$.fill;

return test;
}))
.pipe(tap(function (file,t) {
Expand All @@ -82,15 +83,12 @@ gulp.task('build-community', ['pull'], function() {
.pipe(gulp.dest(ICONDEST));
});

// return es.concat.apply(null, tasks);
//});

gulp.task('build', ['pull'], function() {
var folders = getFolders(ICONSRC_GOOGLE);

var tasks = folders.map(function (folder) {
return gulp.src(path.join(ICONSRC_GOOGLE, folder, '**', '*.svg'))
.pipe(print())
//.pipe(print())
.pipe(xmlEdit(function (doc) {
delete doc.svg.$;

Expand Down
Loading

0 comments on commit 121c334

Please sign in to comment.