Permalink
Browse files

add clean, clobber task to Rakefile

  • Loading branch information...
1 parent 64fdbeb commit 6a99bb0c5e42674b8474956214f21ce55e956ce5 @seiya committed Apr 21, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
@@ -1,5 +1,6 @@
require 'rubygems'
require 'bundler'
+require "rake/clean"
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
@@ -48,3 +49,9 @@ Rake::RDocTask.new do |rdoc|
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+
+CLEAN.include("ext/mpi/*.o")
+CLEAN.include("ext/mpi/mkmf.log")
+CLOBBER.include("ext/mpi/mpi.so")
+CLOBBER.include("ext/mpi/Makefile")

0 comments on commit 6a99bb0

Please sign in to comment.