From 43704662eff700986ba58934622b0523c11fc066 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 25 Nov 2004 16:31:27 +0000 Subject: Dont include svn directories in packages git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@11 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionmailer/Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionmailer/Rakefile') diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 8ddc3179f2..b9b8ef0651 100755 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -58,8 +58,8 @@ spec = Gem::Specification.new do |s| s.autorequire = 'action_mailer' s.files = [ "rakefile", "install.rb", "README", "CHANGELOG", "MIT-LICENSE" ] - s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "CVS" ) } - s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "CVS" ) } + s.files = s.files + Dir.glob( "lib/**/*" ).delete_if { |item| item.include?( "\.svn" ) } + s.files = s.files + Dir.glob( "test/**/*" ).delete_if { |item| item.include?( "\.svn" ) } end Rake::GemPackageTask.new(spec) do |p| -- cgit v1.2.3