diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-23 19:36:15 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-04-23 19:36:15 +0000 |
commit | 350870a8036fc6bf44211fdd9eac266498e3e02f (patch) | |
tree | 477b0aeaa560ed2ef8a2ffcaff7b2c04cbd4ead6 /activeresource | |
parent | df41c7cb612352951bfe8e471e11e67f249c16d5 (diff) | |
download | rails-350870a8036fc6bf44211fdd9eac266498e3e02f.tar.gz rails-350870a8036fc6bf44211fdd9eac266498e3e02f.tar.bz2 rails-350870a8036fc6bf44211fdd9eac266498e3e02f.zip |
Only include relevant files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activeresource')
-rw-r--r-- | activeresource/Rakefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/activeresource/Rakefile b/activeresource/Rakefile index 69221bed18..1a645263ca 100644 --- a/activeresource/Rakefile +++ b/activeresource/Rakefile @@ -18,7 +18,7 @@ RUBY_FORGE_PROJECT = "activerecord" RUBY_FORGE_USER = "webster132" PKG_FILES = FileList[ - "lib/**/*", "test/**/*", "examples/**/*", "doc/**/*", "[A-Z]*", "install.rb", "Rakefile" + "lib/**/*", "test/**/*", "[A-Z]*", "Rakefile" ].exclude(/\bCVS\b|~$/) desc "Default Task" @@ -43,8 +43,6 @@ Rake::RDocTask.new { |rdoc| rdoc.template = "#{ENV['template']}.rb" if ENV['template'] rdoc.rdoc_files.include('README', 'CHANGELOG') rdoc.rdoc_files.include('lib/**/*.rb') - rdoc.rdoc_files.exclude('lib/active_record/vendor/*') - rdoc.rdoc_files.include('dev-utils/*.rb') } @@ -58,7 +56,7 @@ spec = Gem::Specification.new do |s| s.summary = "Think Active Record for web resources." s.description = %q{Wraps web resources in model classes that can be manipulated through XML over REST.} - s.files = [ "Rakefile", "install.rb", "README", "RUNNING_UNIT_TESTS", "CHANGELOG" ] + s.files = [ "Rakefile", "README", "CHANGELOG" ] dist_dirs.each do |dir| s.files = s.files + Dir.glob( "#{dir}/**/*" ).delete_if { |item| item.include?( "\.svn" ) } end |