2009-07-06 21:33:28 -04:00
|
|
|
require 'hoe'
|
|
|
|
|
2011-09-22 22:24:43 -04:00
|
|
|
HOE = Hoe.spec 'puma' do
|
|
|
|
self.rubyforge_name = 'puma'
|
2011-10-07 15:01:21 -04:00
|
|
|
self.readme_file = "README.md"
|
2011-09-22 22:24:43 -04:00
|
|
|
developer 'Evan Phoenix', 'evan@phx.io'
|
2009-07-06 21:33:28 -04:00
|
|
|
|
2011-10-21 19:42:54 -04:00
|
|
|
spec_extras[:extensions] = ["ext/puma_http11/extconf.rb"]
|
2011-09-23 23:24:32 -04:00
|
|
|
spec_extras[:executables] = ['puma']
|
2009-07-06 21:33:28 -04:00
|
|
|
|
2011-11-22 18:18:42 -05:00
|
|
|
dependency 'rack', '~> 1.2'
|
2011-10-25 18:07:54 -04:00
|
|
|
|
2010-01-17 12:08:35 -05:00
|
|
|
extra_dev_deps << ['rake-compiler', "~> 0.7.0"]
|
2009-07-07 03:31:03 -04:00
|
|
|
|
2009-07-06 22:14:02 -04:00
|
|
|
clean_globs.push('test_*.log', 'log')
|
2009-07-06 21:33:28 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
file "#{HOE.spec.name}.gemspec" => ['Rakefile', 'tasks/gem.rake'] do |t|
|
|
|
|
puts "Generating #{t.name}"
|
2011-10-07 15:01:21 -04:00
|
|
|
File.open(t.name, 'w') { |f| f.puts HOE.spec.to_ruby }
|
2009-07-06 21:33:28 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
desc "Generate or update the standalone gemspec file for the project"
|
|
|
|
task :gemspec => ["#{HOE.spec.name}.gemspec"]
|