summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:25:54 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-04-26 18:25:56 +0900
commita6805771ec202a8b8586d6624b05342029cace0d (patch)
tree1aec5027b69c68ec5fdfe2a5e9b1e17ead504b1e
parenta93f55569950b714a3d1235e59ad0a7d5b88f938 (diff)
Define `make sync-default-gems`
to run tool/sync_default_gems.rb
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
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=<gem_name>]" \
" up: update local copy and autogenerated files" \
" benchmark: benchmark this ruby and COMPARE_RUBY." \
" gcbench: gc benchmark [GCBENCH_ITEM=<item_name>]" \