Sha256: 79724dbe9c515b0f740c4ae611ba7b99ee25f2b6f8cec24abbf65042e3edbbe9
Contents?: true
Size: 1.42 KB
Versions: 1
Compression:
Stored size: 1.42 KB
Contents
require 'rubygems' gem 'hoe', '>= 2.1.0' require 'hoe' require 'fileutils' require './lib/mpfi/version.rb' Hoe.plugin :newgem # Hoe.plugin :website # Hoe.plugin :cucumberfeatures # Generate all the Rake tasks # Run 'rake -T' to see list of generated tasks (from gem root directory) $hoe = Hoe.spec 'ruby-mpfi' do self.developer 'Takayuki YAMAGUCHI', 'd@ytak.info' self.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required self.rubyforge_name = self.name # TODO this is default value self.extra_deps = [['ruby-mpfr','>= 0.0.11']] self.spec_extras[:extensions] = ["ext/mpfi/extconf.rb", "ext/mpfi_complex/mpfi/extconf.rb", "ext/mpfi_matrix/mpfi/extconf.rb"] self.extra_rdoc_files << 'README.rdoc' 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 # TODO - want other tests/tasks run by default? Add them to the list # remove_task :default # task :default => [:spec, :features]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-mpfi-0.0.6 | Rakefile |