From fe151338aeedcf04cc2078653193903519f7b4ad Mon Sep 17 00:00:00 2001 From: codecalm Date: Tue, 10 Mar 2020 22:12:47 +0100 Subject: icons directory structure --- gulpfile.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 21149364..f2430664 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -73,7 +73,7 @@ gulp.task('icons-preview', function (cb) { const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n`; - fs.writeFileSync('demo/icons.svg', svgContent); + fs.writeFileSync('icons.svg', svgContent); cb(); }); }); @@ -109,7 +109,7 @@ gulp.task('icons-stroke', function (cb) { const svgContent = `\n${svgContentSymbols}\n${svgContentIcons}\n`; - fs.writeFileSync('demo/icons-stroke.svg', svgContent); + fs.writeFileSync('dist/icons-stroke.svg', svgContent); cb(); }); @@ -139,7 +139,7 @@ gulp.task('optimize', function (cb) { gulp.task('build', function (cb) { cp.exec('bundle exec jekyll build', function() { - cp.exec('rm -f ./icons/* && cp ./_site/icons/* ./icons', function() { + cp.exec('rm -f ./dist/icons/* && cp ./_site/icons/* ./dist/icons', function() { cb(); }); }) -- cgit v1.2.1