summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-28 13:19:13 +0200
committerVolpeon <git@volpeon.ink>2021-03-28 13:19:13 +0200
commit61eb95bca4dd73420db77c7d0db00a917799109d (patch)
tree4374f66922a0e348526c1587eb44c402eb83ef63 /scripts
parentInit (diff)
downloadiro-icons-61eb95bca4dd73420db77c7d0db00a917799109d.tar.gz
iro-icons-61eb95bca4dd73420db77c7d0db00a917799109d.tar.bz2
iro-icons-61eb95bca4dd73420db77c7d0db00a917799109d.zip
Adjusted some icons, added build script
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh20
1 files changed, 20 insertions, 0 deletions
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 @@
1#!/bin/bash
2
3handle () {
4 scour -i "$1" -o "output${1#src}" \
5 --enable-viewboxing \
6 --enable-id-stripping \
7 --enable-comment-stripping \
8 --remove-descriptive-elements \
9 --shorten-ids
10}
11
12mkdir -p output
13
14find "src" \
15 -type f \
16 -name "*.svg" \
17 | while read file_in
18 do
19 handle "$file_in"
20 done