1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/tasks/gem.rake

22 lines
586 B
Ruby
Raw Normal View History

require 'hoe'
2011-09-22 19:24:43 -07:00
HOE = Hoe.spec 'puma' do
self.rubyforge_name = 'puma'
developer 'Evan Phoenix', 'evan@phx.io'
spec_extras[:extensions] = ["ext/http11/extconf.rb"]
2011-09-23 20:24:32 -07:00
spec_extras[:executables] = ['puma']
2010-01-17 14:08:35 -03:00
extra_dev_deps << ['rake-compiler', "~> 0.7.0"]
clean_globs.push('test_*.log', 'log')
end
file "#{HOE.spec.name}.gemspec" => ['Rakefile', 'tasks/gem.rake'] do |t|
puts "Generating #{t.name}"
File.open(t.name, 'w') { |f| f.puts HOE.spec.to_yaml }
end
desc "Generate or update the standalone gemspec file for the project"
task :gemspec => ["#{HOE.spec.name}.gemspec"]