summaryrefslogtreecommitdiffstats
path: root/scripts/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-xscripts/build.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
index 2f5fd79..637c334 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -6,15 +6,14 @@ handle () {
6 --enable-id-stripping \ 6 --enable-id-stripping \
7 --enable-comment-stripping \ 7 --enable-comment-stripping \
8 --remove-descriptive-elements \ 8 --remove-descriptive-elements \
9 --strip-xml-prolog \
9 --shorten-ids 10 --shorten-ids
10} 11}
12export -f handle
11 13
12mkdir -p output 14mkdir -p output
13 15
14find "src" \ 16find "src" \
15 -type f \ 17 -type f \
16 -name "*.svg" \ 18 -name "*.svg" \
17 | while read file_in 19 -print0 | parallel -0 handle {}
18 do
19 handle "$file_in"
20 done