This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An example of a pkg-options | |
ASSETS_DIR='icons' | |
# Relative to the UUID folder | |
PACKAGE_FILES=( | |
$(find . -mindepth 2 -name '*.js' | cut -d '/' -f3-) | |
$ASSETS_DIR/ | |
) | |
# Files that need to be moved into the UUID folder | |
EXTRA_FILES=( | |
'LICENSE' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# temp file for the output (can't output to self) | |
tmp_file=$(mktemp) | |
scour -i "$1" -o $tmp_file \ | |
--remove-metadata \ | |
--enable-id-stripping \ | |
--protect-ids-noninkscape \ | |
--disable-simplify-colors | |
mv -f $tmp_file "$1" |