Sha256: 70f83d49117ce57aff9d973b30287e1e8d81fda37371cd2778f1c8988c194d42
Contents?: true
Size: 519 Bytes
Versions: 24
Compression:
Stored size: 519 Bytes
Contents
windows = false processor, platform, *rest = RUBY_PLATFORM.split("-") windows = true if platform == 'mswin32' or platform == 'mingw32' files = Dir["**/main.rb"] files.each do |file| if windows next if file.include?('qdbus') # because qdbus is Unix only command = "cd #{File.dirname(file).gsub('/', '\\')} && ruby -rubygems #{File.basename(file)}" else command = "cd #{File.dirname(file)} && ruby -rubygems #{File.basename(file)}" end puts "running: #{command}" system(command) end
Version data entries
24 entries across 24 versions & 2 rubygems