summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2020-09-14 09:16:52 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2020-10-12 18:20:23 +0900
commit7932523052cd45747f9878cf0b1dc5a899191c79 (patch)
treed7e47f4ee60b2cdc284ae41e21d9c39925ea1ecd
parent12881ccb05bb60bc99634b183f4f118da5fbd77b (diff)
downloadmruby-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--Rakefile9
-rw-r--r--target/host-debug.rb5
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