# File lib/multiruby.rb, line 122 def self.each_scm_build_dir Multiruby.in_build_dir do Dir["*"].each do |dir| next unless File.directory? dir Dir.chdir dir do if File.exist?(".svn") || File.exist?(".git") then scm = File.exist?(".svn") ? :svn : :git yield scm else yield :none end end end end end