X-Git-Url: http://git.code-monkey.de/?p=ruby-eet.git;a=blobdiff_plain;f=Rakefile;h=a1f94efc6d65c9eb9109f4f332440b39c240296a;hp=3ab381d3ba8638f7bb89fb2b34d7a08fe77a4d91;hb=fe3e2efd62a15a7c2bfc1656c556e607784359b0;hpb=e3da105a58f1a4f41d30907b86f0cf3626c7b700 diff --git a/Rakefile b/Rakefile index 3ab381d..a1f94ef 100644 --- a/Rakefile +++ b/Rakefile @@ -17,6 +17,15 @@ end PKG_NAME = "ruby-eet" PKG_VERSION = File.read("lib/eet.rb"). match(/^\s*VERSION = \"(.*)\"\s$/).captures.first +PKG_FILES = FileList[ + "AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "Rakefile", + "rake/configuretask.rb", "rake/extensiontask.rb", + "ext/ext.c", "lib/eet.rb", + "test/common.rb", "test/test_array_sub.rb", "test/test_basic.rb", + "test/test_broken_classes.rb", "test/test_chunk.rb", + "test/test_hash.rb", "test/test_list.rb", "test/test_misc.rb", + "test/test_stream.rb", "test/test_sub.rb" +] CLOBBER.include("test/*.eet") @@ -81,9 +90,7 @@ end Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t| t.need_tar_gz = true - t.package_files.include("AUTHORS", "ChangeLog", "COPYING", "NEWS", - "README", "Rakefile", - "ext/*.c", "lib/*.rb", "test/*.rb") + t.package_files = PKG_FILES end task :publish => [:rdoc, :package] do