This commit is contained in:
Jon 2022-03-31 19:33:50 +01:00
parent 501b95e696
commit a9e11f0081

View File

@ -22,7 +22,7 @@ echo 'Adding custom emoji...'
{ {
cd ./reactions; cd ./reactions;
./generate.sh > "./data-injects~.json"; ./generate.sh > "./data-injects~.json";
jq -sc '.[0] + .[1]' "../node_modules/emojibase-data/en/compact_backup.json" "./data-injects~.json" > "../node_modules/emojibase-data/en/compact.json"; jq -sc '.[0] + .[1]' "../../node_modules/emojibase-data/en/compact_backup.json" "./data-injects~.json" > "../../node_modules/emojibase-data/en/compact.json";
rm "./data-injects~.json"; rm "./data-injects~.json";
cd "$LWD"; cd "$LWD";
} || { echo "Failed to inject reactions: Exit code $?" 1>&2; exit $?; } } || { echo "Failed to inject reactions: Exit code $?" 1>&2; exit $?; }