summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-16 19:52:50 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-16 19:54:16 +0900
commitb1149bf3058ab886b0e66e543c2b60427735f94c (patch)
tree65fbf6674e39fef159bfc0b4ffebd998234fbe7f /common.mk
parent96228e3ed606856095fec955717d72c815dc6523 (diff)
Make the commit of updated bundled_gems file
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index ebbe3a18df..102a58a230 100644
--- a/common.mk
+++ b/common.mk
@@ -1335,6 +1335,8 @@ update-bundled_gems: PHONY
$(tooldir)/update-bundled_gems.rb \
"$(srcdir)/gems/bundled_gems" | \
"$(IFCHANGE)" "$(srcdir)/gems/bundled_gems" -
+ git -C "$(srcdir)" diff --no-ext-diff --ignore-submodules --exit-code || \
+ git -C "$(srcdir)" commit -m "Update bundled_gems" gems/bundled_gems
test-bundled-gems-precheck: $(TEST_RUNNABLE)-test-bundled-gems-precheck
yes-test-bundled-gems-precheck: main