summary refs log tree commit diff
path: root/scripts/codegen.sh
blob: 9ba5c5dff403bd804638ebab72a1d166cf065733 (plain) (blame)
1
2
3
4
5
6
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