Skip to content

Commit 62b262c

Browse files
committed
Add rake target to run the bundled rake
1 parent ad6b854 commit 62b262c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,6 +1620,11 @@ test-syntax-suggest:
16201620

16211621
check: $(DOT_WAIT) $(PREPARE_SYNTAX_SUGGEST) test-syntax-suggest
16221622

1623+
RAKER = $(XRUBY) -I$(srcdir)/gems/lib$(PATH_SEPARATOR)$(srcdir)/.bundle/lib \
1624+
-rrubygems $(srcdir)/.bundle/bin/rake
1625+
rake:
1626+
$(RAKER) $(RAKE_OPTS) $(RAKE)
1627+
16231628
test-bundler-precheck: $(TEST_RUNNABLE)-test-bundler-precheck
16241629
no-test-bundler-precheck:
16251630
yes-test-bundler-precheck: main $(arch)-fake.rb

0 commit comments

Comments
 (0)