X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=Rakefile;h=03fc22e9fccc2f2ef1a68aa762cb732a0ee46c44;hb=1bf8db372e456e41404ee3670db6efef574cc442;hp=c535b81c3cf387c4c6270defacde5cc842f5bc91;hpb=85c5052bcdc55784a12c286ca9f4b44387cec0fb;p=ruby-eet.git diff --git a/Rakefile b/Rakefile index c535b81..03fc22e 100644 --- a/Rakefile +++ b/Rakefile @@ -1,4 +1,4 @@ -# $Id: Rakefile 17 2005-03-29 16:02:33Z tilman $ +# $Id: Rakefile 32 2005-04-19 09:07:57Z tilman $ require "rbconfig" require "rake/clean" @@ -20,9 +20,7 @@ PKG_VERSION = File.read("lib/eet.rb"). ext_obj = "ext/ext.o" ext_lib = "ext/eet_ext.so" -CLOBBER.include(ext_obj) -CLOBBER.include(ext_lib) -CLOBBER.include(FileList["test/*.eet"]) +CLOBBER.include(ext_obj, ext_lib, "test/*.eet") archdir = Config::CONFIG["archdir"] sitearchdir = Config::CONFIG["sitearchdir"] @@ -56,7 +54,7 @@ end task :test => [ext_lib] Rake::TestTask.new do |t| - t.libs << "ext" + t.libs = ["lib", "ext", "test"] t.test_files = FileList["test/test_*.rb"] t.verbose = true end @@ -66,7 +64,7 @@ Rake::RDocTask.new do |t| t.title = "Ruby-EET - EET bindings for Ruby" t.options = ["--line-numbers", "--inline-source", "--main", "README"] t.rdoc_files.include("README", "COPYING", "AUTHORS", "ChangeLog", - "ext/ext.c", "lib/eet.rb") + "NEWS", "ext/ext.c", "lib/eet.rb") end Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t|