File: bootstrap.rake

package info (click to toggle)
rake-compiler 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 324 kB
  • sloc: ruby: 1,497; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 375 bytes parent folder | download
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.6-p398 1.9.1-p243 1.9.2-p0)

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