File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ update: ## Update sources
55 @composer update
66 @curl https://api.github.com/emojis > vendor/github-emojis.json
77 @curl https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json > vendor/slack-emojis.json
8+ @curl https://unicode.org/Public/emoji/latest/emoji-test.txt > vendor/emoji-test.txt
89
910build : # # Build rules
1011 @./build.php
Original file line number Diff line number Diff line change @@ -6,11 +6,17 @@ This folder contains the tool to build all transliterator rules.
66
77* composer
88* PHP
9+ * curl
10+ * make
911
1012## Update the rules
1113
1214To update the rules, you need to update the version of ` unicode-org/cldr ` in the
13- ` composer.json ` file, then run ` make update ` .
15+ ` composer.json ` file, then run:
16+
17+ ``` bash
18+ make update
19+ ```
1420
1521Finally, run the following command:
1622
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ final class Builder
2828
2929 public static function getEmojisCodePoints (): array
3030 {
31- $ lines = file (__DIR__ .'/vendor/unicode-org/cldr/tools/cldr-code/src/main/resources/org/unicode/cldr/util/data/emoji/ emoji-test.txt ' );
31+ $ lines = file (__DIR__ .'/vendor/emoji-test.txt ' );
3232
3333 $ emojisCodePoints = [];
3434 foreach ($ lines as $ line ) {
You can’t perform that action at this time.
0 commit comments