Commit cc2c3503 authored by Carlo Ascani's avatar Carlo Ascani

Remove an unsupported option for scour

parent 38f99867
Pipeline #45809204 passed with stages
in 1 minute and 16 seconds
......@@ -37,7 +37,7 @@ cp -r $FONTS $OUT
# 5. Inject svg files
for f in $(find $IMAGES -type f -iname "*.svg")
do
SVG=$(scour $f --indent=none --no-line-breaks --remove-metadata --remove-descriptive-elements --enable-comment-stripping --enable-viewboxing 2>/dev/null | tr '\n' ' ')
SVG=$(scour $f --indent=none --no-line-breaks --remove-metadata --enable-comment-stripping --enable-viewboxing 2>/dev/null | tr '\n' ' ')
sed -i -e "s|{{$(basename $f)}}|${SVG}|g" $OUT/index.html
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment