summary refs log tree commit diff
path: root/scripts/codegen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/codegen.sh')
-rw-r--r--scripts/codegen.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/codegen.sh b/scripts/codegen.sh
index 9ba5c5df..f55fa50f 100644
--- a/scripts/codegen.sh
+++ b/scripts/codegen.sh
@@ -1,7 +1,8 @@
 #!/bin/bash
 ROOT=$(realpath "$PWD/$(dirname "$0")/..")
 cd $ROOT
-cat resources/provider-header.txt > src/emoji/Provider.cpp 
+cat resources/provider-head.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
+scripts/emoji_codegen.py impl resources/complete-emoji.txt resources/shortcodes.txt >> src/emoji/Provider.cpp
+scripts/emoji_codegen.py header resources/complete-emoji.txt resources/shortcodes.txt > src/emoji/Provider.h
 cd - > /dev/null