summary refs log tree commit diff
path: root/scripts/codegen.sh
diff options
context:
space:
mode:
authorBulbyVR <26726264+TheDrawingCoder-Gamer@users.noreply.github.com>2022-04-22 10:46:43 -0400
committerBulbyVR <26726264+TheDrawingCoder-Gamer@users.noreply.github.com>2022-04-24 12:25:01 -0400
commit90b88eb592f89c2b4de02f53ba5db5c3d7fc54d9 (patch)
tree875b2b39a6b90e3df94c5f9d87672302d962a953 /scripts/codegen.sh
parentRun make lint (diff)
downloadnheko-90b88eb592f89c2b4de02f53ba5db5c3d7fc54d9.tar.xz
Keep old codes alongside new ones
Signed-off-by: BulbyVR <26726264+TheDrawingCoder-Gamer@users.noreply.github.com>
Diffstat (limited to 'scripts/codegen.sh')
-rw-r--r--scripts/codegen.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/codegen.sh b/scripts/codegen.sh
new file mode 100644
index 00000000..5efda523
--- /dev/null
+++ b/scripts/codegen.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+ROOT=$(realpath "$PWD/$(dirname "$0")/..")
+cd $ROOT
+cat resources/provider-header.txt > src/emoji/Provider.cpp 
+
+scripts/emoji_codegen.py resources/emoji-test.txt resources/shortcodes.txt >> src/emoji/Provider.cpp