From 61eb95bca4dd73420db77c7d0db00a917799109d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 28 Mar 2021 13:19:13 +0200 Subject: Adjusted some icons, added build script --- scripts/build.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 scripts/build.sh (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100755 index 0000000..2f5fd79 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +handle () { + scour -i "$1" -o "output${1#src}" \ + --enable-viewboxing \ + --enable-id-stripping \ + --enable-comment-stripping \ + --remove-descriptive-elements \ + --shorten-ids +} + +mkdir -p output + +find "src" \ + -type f \ + -name "*.svg" \ + | while read file_in + do + handle "$file_in" + done -- cgit v1.2.3-70-g09d2