From 7b28b9e60c1098ba532982db3621a17ef0a9b520 Mon Sep 17 00:00:00 2001 From: GOTOH Shunsuke Date: Sat, 11 May 2019 10:12:45 +0900 Subject: update for unicode 12.1 (#156) --- data/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'data/Makefile') diff --git a/data/Makefile b/data/Makefile index f5d1dd9..fc420e3 100644 --- a/data/Makefile +++ b/data/Makefile @@ -22,7 +22,10 @@ CharWidths.txt: charwidths.jl EastAsianWidth.txt $(JULIA) charwidths.jl > $@ # Unicode data version (must also update utf8proc_unicode_version function) -UNICODE_VERSION=12.0.0 +UNICODE_VERSION=12.1.0 + +# Unicode emoji version (managed separately from UNICODE_VERSION) +UNICODE_EMOJI_VERSION=12.0 UnicodeData.txt: $(CURL) $(CURLFLAGS) -o $@ -O http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/UnicodeData.txt @@ -49,7 +52,7 @@ GraphemeBreakTest.txt: $(CURL) $(CURLFLAGS) $(URLCACHE)http://www.unicode.org/Public/$(UNICODE_VERSION)/ucd/auxiliary/GraphemeBreakTest.txt | $(PERL) -pe 's,÷,/,g;s,×,+,g' > $@ emoji-data.txt: - $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/`echo $(UNICODE_VERSION) | cut -d. -f1-2`/emoji-data.txt + $(CURL) $(CURLFLAGS) -o $@ -O $(URLCACHE)http://unicode.org/Public/emoji/$(UNICODE_EMOJI_VERSION)/emoji-data.txt clean: rm -f UnicodeData.txt EastAsianWidth.txt GraphemeBreakProperty.txt DerivedCoreProperties.txt CompositionExclusions.txt CaseFolding.txt NormalizationTest.txt GraphemeBreakTest.txt CharWidths.txt emoji-data.txt -- cgit v1.2.3