From a6805771ec202a8b8586d6624b05342029cace0d Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 26 Apr 2019 18:25:54 +0900 Subject: Define `make sync-default-gems` to run tool/sync_default_gems.rb --- common.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common.mk b/common.mk index 3516f1c8b2..b271e0d774 100644 --- a/common.mk +++ b/common.mk @@ -1289,6 +1289,10 @@ yes-test-bundler: yes-test-bundler-prepare --require spec_helper $(RSPECOPTS) spec/bundler/$(BUNDLER_SPECS) no-test-bundler: +GEM = up +sync-default-gems: + $(Q) $(XRUBY) -C "$(srcdir)" tool/sync_default_gems.rb $(GEM) + UNICODE_FILES = $(UNICODE_SRC_DATA_DIR)/UnicodeData.txt \ $(UNICODE_SRC_DATA_DIR)/CompositionExclusions.txt \ $(UNICODE_SRC_DATA_DIR)/NormalizationTest.txt \ @@ -1488,6 +1492,7 @@ help: PHONY " test-rubyspec: same as test-spec" \ " test-bundler: run the Bundler spec" \ " test-bundled-gems: run the test suite of bundled gems" \ + " sync-default-gems: sync default gems from upstream [GEM=]" \ " up: update local copy and autogenerated files" \ " benchmark: benchmark this ruby and COMPARE_RUBY." \ " gcbench: gc benchmark [GCBENCH_ITEM=]" \ -- cgit v1.2.3