From 9fdc54d137d8dd94c70405010ed3c412e68235c0 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 5 Feb 2022 22:17:11 +0100 Subject: Include compiled files --- scripts/build.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 scripts/build.sh (limited to 'scripts/build.sh') diff --git a/scripts/build.sh b/scripts/build.sh deleted file mode 100755 index a05dd63..0000000 --- a/scripts/build.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -handle () { - scour -i "$1" \ - --enable-viewboxing \ - --enable-id-stripping \ - --enable-comment-stripping \ - --remove-descriptive-elements \ - --strip-xml-prolog \ - --shorten-ids | sed -z 's/\(fill\|stroke\)="#.\{3,6\}"/\1="currentColor"/g;s/stroke-width="[0-9.]*"//g;s/stroke-linecap="[a-z]*"//g;s/stroke-linejoin="[a-z]*"//g;s/style="[ a-z0-9:-]*"//g' > "output${1#"src/icons"}" -} - -export -f handle - -mkdir -p output - -find "src/icons" \ - -type f \ - -name "*.svg" \ - -print0 | parallel -0 handle {} -- cgit v1.2.3-54-g00ecf