aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcodecalm <codecalm@gmail.com>2021-01-20 23:16:00 +0100
committercodecalm <codecalm@gmail.com>2021-01-20 23:16:00 +0100
commit612f6b4c6b14bfd380a5533e7c53c9f194dba74b (patch)
tree88e9888a32e1fbb069d117befcc2cca6e4999aa9
parentbuild process improvement (diff)
downloadtabler-icons-612f6b4c6b14bfd380a5533e7c53c9f194dba74b.tar.xz
fix outline script
-rw-r--r--fix-outline.py (renamed from .build/generate.py)2
-rw-r--r--gulpfile.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/.build/generate.py b/fix-outline.py
index d763ed16..4eb7466c 100644
--- a/.build/generate.py
+++ b/fix-outline.py
@@ -23,6 +23,6 @@ for file in files("./icons-outlined"):
glyph.correctDirection()
glyph.export("./icons-outlined/" + file)
glyph.clear()
-
+
print ("Finished fixing svg outline directions!")
diff --git a/gulpfile.js b/gulpfile.js
index 36721329..bdda07da 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -231,7 +231,7 @@ gulp.task('iconfont-svg-outline', function (cb) {
});
// correct svg outline directions in a child process using fontforge
- const generate = cp.spawn("fontforge", ["-lang=py", "-script", ".build/generate.py"], { stdio: 'inherit' });
+ const generate = cp.spawn("fontforge", ["-lang=py", "-script", "./fix-outline.py"], { stdio: 'inherit' });
generate.on("close", function (code) {
console.log(`Correcting svg outline directions exited with code ${code}`);
if (!code) {