Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (9 sloc) 396 Bytes
#!/bin/bash
speculid_path=${1:-./build/Build/Products/Release/Speculid.app/Contents/MacOS/Speculid}
assets_dir=${2:-examples/Assets/.}
find $assets_dir -name "*.speculid" -print0 |
while IFS= read -r -d $'\0' line; do
$speculid_path "$line" >/dev/null
done
wait
(cd $assets_dir && find . -type f \( -iname \*.icns -o -iname \*.png \) -print0 | sort -z | xargs -0 shasum -a 512 | shasum -a 512)