diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-09-14 09:16:52 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 18:20:23 +0900 |
| commit | 7932523052cd45747f9878cf0b1dc5a899191c79 (patch) | |
| tree | d7e47f4ee60b2cdc284ae41e21d9c39925ea1ecd | |
| parent | 12881ccb05bb60bc99634b183f4f118da5fbd77b (diff) | |
| download | mruby-7932523052cd45747f9878cf0b1dc5a899191c79.tar.gz mruby-7932523052cd45747f9878cf0b1dc5a899191c79.zip | |
Remove `host-debug` internal target.
Target `host-debug` to use `host` internal target with debugging
configuration.
| -rw-r--r-- | Rakefile | 9 | ||||
| -rw-r--r-- | target/host-debug.rb | 5 |
2 files changed, 4 insertions, 10 deletions
@@ -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 |
