diff --git a/reactions/fetch-latest-format.sh b/reactions/fetch-latest-format.sh new file mode 100755 index 0000000..da0b8f3 --- /dev/null +++ b/reactions/fetch-latest-format.sh @@ -0,0 +1,6 @@ +#!/bin/sh +base="https://raw.githubusercontent.com/milesj/emojibase/master/packages/data/en" +for file in compact.raw.json data.raw.json; do + echo "$file:" + curl -sf "$base/$file" | jq '.[] | select(.hexcode == "2721")' || exit $? +done