aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2020-03-12 14:31:13 +0100
committercodecalm <codecalm@gmail.com>2020-03-12 14:31:13 +0100
commit88404df5be5edbe4f6685d97e156656b9b2560a7 (patch)
tree6239af6f5c5933369ef0d5f2665caec09d297fee /gulpfile.js
parentDelete test.html (diff)
downloadtabler-icons-88404df5be5edbe4f6685d97e156656b9b2560a7.tar.xz
dir fixes
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 6840ffd..133c51b 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -60,7 +60,7 @@ gulp.task('icons-sprite', function (cb) {
let svg = `<svg xmlns="http://www.w3.org/2000/svg"><defs>${svgContent}</defs></svg>`;
- fs.writeFileSync('dist/tabler-sprite.svg', svg);
+ fs.writeFileSync('.github/tabler-sprite.svg', svg);
cb();
});
});
@@ -106,8 +106,8 @@ gulp.task('icons-preview', function (cb) {
const svgContent = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 ${width} ${height}" width="${width}" height="${height}" style="color: #354052"><rect x="0" y="0" width="${width}" height="${height}" fill="#fff"></rect>\n${svgContentSymbols}\n${svgContentIcons}\n</svg>`;
- fs.writeFileSync('icons.svg', svgContent);
- createScreenshot('icons.svg');
+ fs.writeFileSync('.github/icons.svg', svgContent);
+ createScreenshot('.github/icons.svg');
cb();
});
});