From 7932523052cd45747f9878cf0b1dc5a899191c79 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Mon, 14 Sep 2020 09:16:52 +0900 Subject: Remove `host-debug` internal target. Target `host-debug` to use `host` internal target with debugging configuration. --- Rakefile | 9 --------- target/host-debug.rb | 5 ++++- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Rakefile b/Rakefile index 92d5000da..1234daf66 100644 --- a/Rakefile +++ b/Rakefile @@ -97,15 +97,6 @@ MRuby.each_target do |target| install_D t.prerequisites.first, t.name end depfiles += [ install_path ] - elsif target == MRuby.targets['host-debug'] - unless MRuby.targets['host'].gems.map {|g| g.bins}.include?([bin]) - install_path = MRuby.targets['host-debug'].exefile("#{bin_path}/#{bin}") - - file install_path => exec do |t| - install_D t.prerequisites.first, t.name - end - depfiles += [ install_path ] - end else depfiles += [ exec ] end diff --git a/target/host-debug.rb b/target/host-debug.rb index 423286888..ad4106065 100644 --- a/target/host-debug.rb +++ b/target/host-debug.rb @@ -1,4 +1,4 @@ -MRuby::Build.new('host-debug') do |conf| +MRuby::Build.new('host') do |conf| # load specific toolchain settings # Gets set by the VS command prompts. @@ -19,5 +19,8 @@ MRuby::Build.new('host-debug') do |conf| # Generate mruby debugger command (require mruby-eval) conf.gem :core => "mruby-bin-debugger" + # test + enable_test # bintest + enable_bintest end -- cgit v1.2.3