Sha256: f38c3b8a00357d7372130e63009dceb77f07cea9c94f5f72b15ef430d07cbb9f

Contents?: true

Size: 851 Bytes

Versions: 1

Compression:

Stored size: 851 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

1 entries across 1 versions & 1 rubygems

Version Path
ruby-mpc-0.0.5 tasks/extconf.rake