Skip to content

Commit 9ed4dbe

Browse files
Update to latest spec
1 parent 7167193 commit 9ed4dbe

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

emoji-parser.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# downloads emoji specification from unicode.org and converts it to be used in the plugin
22

33
$EmojiList = $PSScriptRoot + "\src\main\resources\io\jenkins\plugins\emoji\symbols\Emojis\emojis.list"
4-
$EmojiUrl = "https://unicode.org/Public/emoji/17.0/emoji-test.txt"
4+
$EmojiUrl = "https://unicode.org/Public/emoji/latest/emoji-test.txt"
55

66
function SearchAndReplace {
77
param (

src/main/resources/images/symbols/emoji_apple_core.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/resources/io/jenkins/plugins/emoji/symbols/Emojis/emojis.list

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2766,7 +2766,6 @@ banana:🍌
27662766
pineapple:🍍
27672767
mango:🥭
27682768
red_apple:🍎
2769-
apple_core:🫝
27702769
green_apple:🍏
27712770
pear:🍐
27722771
peach:🍑

svg-generator.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ $SVGTemplate = "<svg xmlns=`"http://www.w3.org/2000/svg`" class=`"emoji`" viewBo
2424
$counter = 0
2525

2626
$runtime = Measure-Command {
27+
# delete old svgs
28+
Get-ChildItem $SymbolsPath | Remove-Item -recurse -Force
29+
2730
foreach ($line in Get-Content -Encoding UTF8NoBOM $EmojiList)
2831
{
2932
$splitLine = $line.Split(":")

0 commit comments

Comments
 (0)