mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #3131 from bggd/fix_bintest_on_windows
Fix doesn't work bintest on :visualcpp toolchain
This commit is contained in:
@@ -20,6 +20,11 @@ def shellquote(s)
|
||||
end
|
||||
|
||||
ARGV.each do |gem|
|
||||
case RbConfig::CONFIG['host_os']
|
||||
when /mswin(?!ce)|mingw|cygwin|bccwin/
|
||||
gem = gem.gsub('\\', '/')
|
||||
end
|
||||
|
||||
Dir["#{gem}/bintest/**/*.rb"].each do |file|
|
||||
load file
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user