diff options
author | Volpeon <git@volpeon.ink> | 2021-03-28 13:19:13 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-03-28 13:19:13 +0200 |
commit | 61eb95bca4dd73420db77c7d0db00a917799109d (patch) | |
tree | 4374f66922a0e348526c1587eb44c402eb83ef63 /scripts | |
parent | Init (diff) | |
download | iro-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-x | scripts/build.sh | 20 |
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 | |||
3 | handle () { | ||
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 | |||
12 | mkdir -p output | ||
13 | |||
14 | find "src" \ | ||
15 | -type f \ | ||
16 | -name "*.svg" \ | ||
17 | | while read file_in | ||
18 | do | ||
19 | handle "$file_in" | ||
20 | done | ||