[前][次][番号順一覧][スレッド一覧]

ruby-changes:54051

From: nobu <ko1@a...>
Date: Fri, 7 Dec 2018 17:51:32 +0900 (JST)
Subject: [ruby-changes:54051] nobu:r66270 (trunk): Add UNICODE_EMOJI_VERSION to RbConfig [Feature #15341]

nobu	2018-12-07 17:51:26 +0900 (Fri, 07 Dec 2018)

  New Revision: 66270

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66270

  Log:
    Add UNICODE_EMOJI_VERSION to RbConfig [Feature #15341]

  Modified files:
    trunk/common.mk
    trunk/tool/mkconfig.rb
Index: common.mk
===================================================================
--- common.mk	(revision 66269)
+++ common.mk	(revision 66270)
@@ -787,6 +787,7 @@ $(RBCONFIG): $(srcdir)/tool/mkconfig.rb https://github.com/ruby/ruby/blob/trunk/common.mk#L787
 		-install_name=$(RUBY_INSTALL_NAME) \
 		-so_name=$(RUBY_SO_NAME) \
 		-unicode_version=$(UNICODE_VERSION) \
+		-unicode_emoji_version=$(UNICODE_EMOJI_VERSION) \
 	> rbconfig.tmp
 	$(IFCHANGE) "--timestamp=$@" rbconfig.rb rbconfig.tmp
 
Index: tool/mkconfig.rb
===================================================================
--- tool/mkconfig.rb	(revision 66269)
+++ tool/mkconfig.rb	(revision 66270)
@@ -9,6 +9,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L9
 $install_name ||= nil
 $so_name ||= nil
 $unicode_version ||= nil
+$unicode_emoji_version ||= nil
 arch = $arch or raise "missing -arch"
 version = $version or raise "missing -version"
 
@@ -247,6 +248,9 @@ print(*v_others) https://github.com/ruby/ruby/blob/trunk/tool/mkconfig.rb#L248
 print <<EOS if $unicode_version
   CONFIG["UNICODE_VERSION"] = #{$unicode_version.dump}
 EOS
+print <<EOS if $unicode_emoji_version
+  CONFIG["UNICODE_EMOJI_VERSION"] = #{$unicode_emoji_version.dump}
+EOS
 print <<EOS if /darwin/ =~ arch
   CONFIG["SDKROOT"] = ENV["SDKROOT"] || "" # don't run xcrun everytime, usually useless.
 EOS

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]