diff options
Diffstat (limited to 'scripts/codegen.sh')
-rw-r--r-- | scripts/codegen.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/codegen.sh b/scripts/codegen.sh new file mode 100644 index 00000000..9ba5c5df --- /dev/null +++ b/scripts/codegen.sh @@ -0,0 +1,7 @@ +#!/bin/bash +ROOT=$(realpath "$PWD/$(dirname "$0")/..") +cd $ROOT +cat resources/provider-header.txt > src/emoji/Provider.cpp +cat resources/extra_emoji.txt resources/emoji-test.txt > resources/complete-emoji.txt +scripts/emoji_codegen.py resources/complete-emoji.txt resources/shortcodes.txt >> src/emoji/Provider.cpp +cd - > /dev/null |