-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.rake
More file actions
31 lines (24 loc) · 766 Bytes
/
Copy pathpackage.rake
File metadata and controls
31 lines (24 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'rubygems'
require 'rake/gempackagetask'
spec = Gem::Specification.new do |s|
s.name = GEM
s.version = CHEF_SERVER_VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README.rdoc", "LICENSE" ]
s.summary = SUMMARY
s.description = s.summary
s.author = AUTHOR
s.email = EMAIL
s.homepage = HOMEPAGE
%w{stomp stompserver ferret
merb-core merb-haml merb-assets
merb-helpers mongrel haml
ruby-openid json coderay}.each { |gem| s.add_dependency gem }
s.bindir = "bin"
s.executables = %w( chef-server chef-indexer )
s.files = %w(LICENSE README.rdoc config.ru) + Dir.glob("{app,bin,config,lib,public}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end