Skip to content

Commit

Permalink
Exclude guides from gem to keep file size small
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Aug 30, 2010
1 parent 0fcb430 commit bdace5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions railties/Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ PKG_FILES = FileList[
'doc/**/*', 'doc/**/*',
'dispatches/**/*', 'dispatches/**/*',
'environments/**/*', 'environments/**/*',
'guides/**/*',
'helpers/**/*', 'helpers/**/*',
'generators/**/*', 'generators/**/*',
'html/**/*', 'html/**/*',
Expand All @@ -323,7 +322,7 @@ spec = Gem::Specification.new do |s|
s.rdoc_options << '--exclude' << '.' s.rdoc_options << '--exclude' << '.'
s.has_rdoc = false s.has_rdoc = false


s.files = PKG_FILES.to_a.delete_if {|f| f =~ %r{\.svn|guides/output}} s.files = PKG_FILES
s.require_path = 'lib' s.require_path = 'lib'
s.bindir = "bin" # Use these for applications. s.bindir = "bin" # Use these for applications.
s.executables = ["rails"] s.executables = ["rails"]
Expand Down

0 comments on commit bdace5d

Please sign in to comment.