diff options
author | Koichi Sasada <ko1@atdot.net> | 2021-10-28 14:31:02 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-10-28 14:31:02 +0900 |
commit | 77544caaf46503b8e56d5b37703bfd1e9fb3cbc6 (patch) | |
tree | 899f0d09c269a513efeda39c7e52e2c05c90ed8f /common.mk | |
parent | efcf18f13ecffe5cdbe74cc532246366f60d7858 (diff) |
add `make runirb` rule
it's start irb on built ruby (not installed ruby).
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1245,6 +1245,9 @@ run: fake miniruby$(EXEEXT) PHONY runruby: $(PROGRAM) PHONY RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' $(RUNRUBY) $(RUNOPT0) $(TESTRUN_SCRIPT) $(RUNOPT) +runirb: $(PROGRAM) PHONY + RUBY_ON_BUG='gdb -x $(srcdir)/.gdbinit -p' $(RUNRUBY) $(RUNOPT0) -r irb -e 'IRB.start("make runirb")' $(RUNOPT) + parse: fake miniruby$(EXEEXT) PHONY $(BTESTRUBY) --dump=parsetree_with_comment,insns $(TESTRUN_SCRIPT) |