File: bootstrap.rake

package info (click to toggle)
rake-compiler 1.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 388 kB
  • sloc: ruby: 2,012; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 375 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
desc 'Ensure all the cross compiled versions are installed'
task :bootstrap do
  fail "Sorry, this only works on OSX and Linux" if RUBY_PLATFORM =~ /mswin|mingw/

  versions = %w(1.8.7-p371 1.9.3-p392 2.0.0-p0)

  versions.each do |version|
    puts "[INFO] Attempt to cross-compile Ruby #{version}"
    ruby "-Ilib bin/rake-compiler cross-ruby VERSION=#{version}"
  end
end