Don't use Array#pack when the result is constant.
[ruby-eet.git] / Rakefile
index eeee145446f65c68d944c3aded5ac997c019198f..03fc22e9fccc2f2ef1a68aa762cb732a0ee46c44 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,4 +1,4 @@
-# $Id: Rakefile 18 2005-03-29 17:01:39Z 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