From: Tilman Sauerbeck Date: Fri, 23 Mar 2007 11:29:15 +0000 (+0100) Subject: Explicitly list all the files we want to distribute. X-Git-Tag: ruby-eet-0.1.4~2 X-Git-Url: http://git.code-monkey.de/?p=ruby-eet.git;a=commitdiff_plain;h=fe3e2efd62a15a7c2bfc1656c556e607784359b0 Explicitly list all the files we want to distribute. Also include the Rake tasks. --- 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