Sha256: bbdbfb934fa7b091b110cc527425a120d444329a10f21e85a1272d7e6ef43445

Contents?: true

Size: 821 Bytes

Versions: 12

Compression:

Stored size: 821 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems' unless ENV['NO_RUBYGEMS']
  require 'spec'
end
begin
  require 'spec/rake/spectask'
rescue LoadError
  puts <<-EOS
To use rspec for testing you must install rspec gem:
    gem install rspec
EOS
  exit(0)
end

desc "Run 'make realclean' for extended libraries"
task "ext:realclean" do
  Dir.glob("ext/**/Makefile").each do |path|
    system("cd #{File.dirname(path)}; make realclean")
  end
end

desc "Run 'make clean' for extended libraries"
task "ext:clean" do
  Dir.glob("ext/**/Makefile").each do |path|
    system("cd #{File.dirname(path)}; make clean")
  end
end

desc "Run 'make realclean' for extended libraries"
task 'ext:make' do
  Dir.glob("ext/**/extconf.rb").each do |path|
    system("cd #{File.dirname(path)}; ruby extconf.rb && make")
  end
end

Version data entries

12 entries across 12 versions & 3 rubygems

Version Path
ruby-mpfi-0.0.6 tasks/extconf.rake
ruby-mpfi-0.0.5 tasks/extconf.rake
ruby-mpfi-0.0.4 tasks/extconf.rake
ruby-mpc-0.0.4 tasks/extconf.rake
ruby-mpfr-0.0.7 tasks/extconf.rake
ruby-mpfr-0.0.6 tasks/extconf.rake
ruby-mpfi-0.0.3 tasks/extconf.rake
ruby-mpc-0.0.3 tasks/extconf.rake
ruby-mpfr-0.0.5 tasks/extconf.rake
ruby-mpfi-0.0.2 tasks/extconf.rake
ruby-mpc-0.0.2 tasks/extconf.rake
ruby-mpfr-0.0.4 tasks/extconf.rake