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

Version Path
rock-qtbindings-4.8.6.5 examples/run_all.rb
qtbindings-4.8.6.5 examples/run_all.rb
qtbindings-4.8.6.5-x86-mingw32 examples/run_all.rb
qtbindings-4.8.6.5-x64-mingw32 examples/run_all.rb
qtbindings-4.8.6.4-x86-mingw32 examples/run_all.rb
qtbindings-4.8.6.4-x64-mingw32 examples/run_all.rb
qtbindings-4.8.6.4 examples/run_all.rb
qtbindings-4.8.6.3 examples/run_all.rb
qtbindings-4.8.6.3-x86-mingw32 examples/run_all.rb
qtbindings-4.8.6.3-x64-mingw32 examples/run_all.rb
qtbindings-4.8.6.2-x64-mingw32 examples/run_all.rb
qtbindings-4.8.6.2-x86-mingw32 examples/run_all.rb
qtbindings-4.8.6.2 examples/run_all.rb
qtbindings-4.8.6.1-x64-mingw32 examples/run_all.rb
qtbindings-4.8.6.1-x86-mingw32 examples/run_all.rb
qtbindings-4.8.6.1 examples/run_all.rb
qtbindings-4.8.6.0 examples/run_all.rb
qtbindings-4.8.6.0-x86-mingw32 examples/run_all.rb
qtbindings-4.8.5.2 examples/run_all.rb
qtbindings-4.8.5.2-x86-mingw32 examples/run_all.rb