Permalink
Browse files

Dont include svn directories in packages

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@11 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 14b80d0 commit 43704662eff700986ba58934622b0523c11fc066 @dhh dhh committed Nov 25, 2004
Showing with 4 additions and 4 deletions.
  1. +2 −2 actionmailer/Rakefile
  2. +1 −1 actionpack/Rakefile
  3. +1 −1 activerecord/Rakefile
View
@@ -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|
View
@@ -58,7 +58,7 @@ spec = Gem::Specification.new do |s|
s.files = [ "rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG", "MIT-LICENSE", "examples/.htaccess" ]
dist_dirs.each do |dir|
- s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "CVS" ) }
+ s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
end
s.files.delete "examples/benchmark.rb"
s.files.delete "examples/benchmark_with_ar.fcgi"
View
@@ -84,7 +84,7 @@ spec = Gem::Specification.new do |s|
s.files = [ "rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG" ]
dist_dirs.each do |dir|
- s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "CVS" ) }
+ s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) }
end
s.files.delete "test/fixtures/fixture_database.sqlite"
s.require_path = 'lib'

0 comments on commit 4370466

Please sign in to comment.