Skip to content

Commit

Permalink
show missing emoji by version breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
iamcal committed Feb 6, 2024
1 parent 17891cb commit adc73f7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/find_missing.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
foreach ($obj as $row){

if (!$row["has_img_$p"]){
echo "$p missing {$row['unified']} / {$row['short_name']}\n";
echo "$p missing {$row['unified']} / {$row['short_name']} [{$row['added_in']}]\n";
}

if (isset($row['skin_variations'])){
foreach ($row['skin_variations'] as $row2){
if (!$row2["has_img_$p"]){
echo "$p missing {$row2['unified']} / {$row['short_name']} (tone)\n";
echo "$p missing {$row2['unified']} / {$row['short_name']} (tone) [{$row['added_in']}]\n";
}
}
}
Expand Down
9 changes: 9 additions & 0 deletions build/find_missing_summary.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@
ob_end_clean();

$counts = [];
$counts_v = [];

foreach ($lines as $line){

$v = '?';
if (preg_match('!\[(.*?)\]$!', $line, $m)){
$v = $m[1];
}

list($a) = explode(' ', $line);
$counts[$a]++;

$counts_v["{$a}-{$v}"]++;
}

print_r($counts);
print_r($counts_v);
2 changes: 1 addition & 1 deletion build/google/noto-emoji
2 changes: 1 addition & 1 deletion build/twitter/twemoji
Submodule twemoji updated 105 files

0 comments on commit adc73f7

Please sign in to comment.