summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/codegen.sh4
-rwxr-xr-xscripts/emoji_codegen.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/scripts/codegen.sh b/scripts/codegen.sh
index 24fbc6be..9ba5c5df 100644
--- a/scripts/codegen.sh
+++ b/scripts/codegen.sh
@@ -2,6 +2,6 @@
 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/emoji-test.txt resources/shortcodes.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
diff --git a/scripts/emoji_codegen.py b/scripts/emoji_codegen.py
index 05b1d764..9dae1544 100755
--- a/scripts/emoji_codegen.py
+++ b/scripts/emoji_codegen.py
@@ -78,7 +78,7 @@ if __name__ == '__main__':
             continue
 
 
-        char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName.strip()).groups()
+        char, name = re.match(r'^(\S+) E\d+\.\d+ (.*)$', charAndName).groups()
         shortname = name
 
         #TODO: Handle skintone modifiers in a sane way