From 65d027a0b57b6d97cc73e55ea703e17aae623da3 Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Tue, 27 Mar 2007 20:20:14 +0200 Subject: [PATCH] Explicitly list all the files we want to distribute. --- Rakefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index c801ae9..4a17865 100644 --- a/Rakefile +++ b/Rakefile @@ -13,6 +13,14 @@ end PKG_NAME = "redact" PKG_VERSION = File.read("lib/redact/redact.rb"). match(/^\s*VERSION = \"(.*)\"\s*$/).captures.first +PKG_FILES = FileList[ + "AUTHORS", "COPYING", "ChangeLog", "NEWS", "README", "Rakefile", + "TODO", + "bin/redact", "lib/redact/app.rb", "lib/redact/part.rb", + "lib/redact/program.rb", "lib/redact/redact.rb", + "lib/redact/source.rb", + "test/crossfade.rb", "test/red_rect.rb", "test/test_basic.rb" +] CLOBBER.include("test/*.edj") @@ -56,10 +64,7 @@ end Rake::PackageTask.new(PKG_NAME, PKG_VERSION) do |t| t.need_tar_gz = true - t.package_files.include("AUTHORS", "COPYING", "ChangeLog", "NEWS", - "README", "Rakefile", "TODO", - "bin/redact", "lib/redact/*.rb", - "test/*.rb") + t.package_files = PKG_FILES end task :publish => [:rdoc, :package] do -- 2.30.2