diff options
Diffstat (limited to 'chef-server/lib/tasks/package.rake')
-rw-r--r-- | chef-server/lib/tasks/package.rake | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/chef-server/lib/tasks/package.rake b/chef-server/lib/tasks/package.rake index 9c654bceda..2f085b5827 100644 --- a/chef-server/lib/tasks/package.rake +++ b/chef-server/lib/tasks/package.rake @@ -6,7 +6,7 @@ spec = Gem::Specification.new do |s| s.version = CHEF_SERVER_VERSION s.platform = Gem::Platform::RUBY s.has_rdoc = true -# s.extra_rdoc_files = ["README.txt", "LICENSE", 'NOTICE'] + s.extra_rdoc_files = ["README.txt", "LICENSE", 'NOTICE'] s.summary = SUMMARY s.description = s.summary s.author = AUTHOR @@ -29,18 +29,20 @@ spec = Gem::Specification.new do |s| s.bindir = "bin" # s.executables = %w( chef-indexer chef-server ) s.executables = %w( chef-server ) - -# BUGBUG [cb] add LICENSE and README.txt - s.files = %w(Rakefile) + ["{app}/**/*", - "{config}/**/*", - "{doc}/**/*", - "{lib}/**/*", - "{log}/**/*", - "{merb}/**/*", - "{public}/**/*", - "{slices}/**/*", - "{spec}/**/*", - "{tasks}/**/*",].inject([]) { |m,dir| m << Dir.glob(dir) }.flatten + s.files = %w(LICENSE NOTICE README.txt Rakefile) + + [ "README.txt", + "LICENSE", + "NOTICE", + "{app}/**/*", + "{config}/**/*", + "{doc}/**/*", + "{lib}/**/*", + "{log}/**/*", + "{merb}/**/*", + "{public}/**/*", + "{slices}/**/*", + "{spec}/**/*", + "{tasks}/**/*",].inject([]) { |m,dir| m << Dir.glob(dir) }.flatten end Rake::GemPackageTask.new(spec) do |pkg| |