Skip to content

Commit

Permalink
Updated scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshyPHP committed May 11, 2021
1 parent 4e35ff7 commit 5ab6598
Show file tree
Hide file tree
Showing 79 changed files with 14 additions and 2 deletions.
Binary file modified dist/svgz/1f1e6-1f1e9.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1e6-1f1ee.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1e6-1f1f8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1e7-1f1ee.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1e8-1f1f0.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ea-1f1e6.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ea-1f1e8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ea-1f1ec.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ea-1f1f8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1eb-1f1ef.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1eb-1f1f0.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ec-1f1e7.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ec-1f1ee.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ec-1f1f2.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ec-1f1f7.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ec-1f1f9.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ed-1f1f9.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1ef-1f1ea.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f0-1f1f3.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f0-1f1fe.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f1-1f1f7.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f2-1f1f5.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f2-1f1f8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f3-1f1e6.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f3-1f1e8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f3-1f1fa.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f3-1f1ff.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f4-1f1f2.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f5-1f1eb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f5-1f1f7.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f8-1f1e7.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f8-1f1f2.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f9-1f1e8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f9-1f1fb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1f9-1f1ff.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1fa-1f1f2.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1fa-1f1f8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f1fb-1f1ec.svgz
Binary file not shown.
Binary file modified dist/svgz/1f306.svgz
Binary file not shown.
Binary file modified dist/svgz/1f349.svgz
Binary file not shown.
Binary file modified dist/svgz/1f359.svgz
Binary file not shown.
Binary file modified dist/svgz/1f36f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f391.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3c6.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3c8.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f3-1f308.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0063-e0061-e0073-e006b-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0067-e0062-e0073-e0063-e0074-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e006d-e0078-e0063-e006f-e006c-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e006d-e0078-e006e-e0061-e0079-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e006d-e0078-e0072-e006f-e006f-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e0061-e006c-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e0067-e0061-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e0068-e0069-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e006e-e0079-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e006f-e0068-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e0073-e0064-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f3f4-e0075-e0073-e0077-e0079-e007f.svgz
Binary file not shown.
Binary file modified dist/svgz/1f44a-1f3fb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f485-1f3fb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f485-1f3fc.svgz
Binary file not shown.
Binary file modified dist/svgz/1f485-1f3fd.svgz
Binary file not shown.
Binary file modified dist/svgz/1f485-1f3fe.svgz
Binary file not shown.
Binary file modified dist/svgz/1f485-1f3ff.svgz
Binary file not shown.
Binary file modified dist/svgz/1f4f9.svgz
Binary file not shown.
Binary file modified dist/svgz/1f527.svgz
Binary file not shown.
Binary file modified dist/svgz/1f54d.svgz
Binary file not shown.
Binary file modified dist/svgz/1f5dc.svgz
Binary file not shown.
Binary file modified dist/svgz/1f6cb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f933-1f3fb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f95b.svgz
Binary file not shown.
Binary file modified dist/svgz/1f965.svgz
Binary file not shown.
Binary file modified dist/svgz/1f98d.svgz
Binary file not shown.
Binary file modified dist/svgz/1f9b1.svgz
Binary file not shown.
Binary file modified dist/svgz/1f9fb.svgz
Binary file not shown.
Binary file modified dist/svgz/1f9fe.svgz
Binary file not shown.
Binary file modified dist/svgz/26ea.svgz
Binary file not shown.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ do
cp -f "$src_file" "$trg_file"
done

echo "[5/9] Removing off-canvas paths... [skipped]"
#third_party/node_modules/.bin/svgo -f "$TRG_DIR/svg" --multipass -q --config scripts/svgo.config.removeoffcanvas.js
echo "[5/9] Removing off-canvas paths..."
third_party/node_modules/.bin/svgo -f "$TRG_DIR/svg" -q --config scripts/svgo.removeoffcanvaspaths.js

echo "[6/9] Running SVGO..."
third_party/node_modules/.bin/svgo -f "$TRG_DIR/svg" --multipass -q
Expand Down
12 changes: 12 additions & 0 deletions scripts/svgo.removeoffcanvaspaths.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
plugins: [
{
name: 'convertShapeToPath',
active: true
},
{
name: 'removeOffCanvasPaths',
active: true
}
]
}

0 comments on commit 5ab6598

Please sign in to comment.