Sha256: a9fc08e883049f5feaf86ae9eb4755f12b461330e4c6e28bf164279912556c7c

Contents?: true

Size: 624 Bytes

Versions: 1

Compression:

Stored size: 624 Bytes

Contents

require 'hoe'

HOE = Hoe.spec 'puma' do
  self.rubyforge_name = 'puma'
  self.readme_file = "README.md"
  developer 'Evan Phoenix', 'evan@phx.io'

  spec_extras[:extensions] = ["ext/puma_http11/extconf.rb"]
  spec_extras[:executables] = ['puma']

  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_ruby }
end

desc "Generate or update the standalone gemspec file for the project"
task :gemspec => ["#{HOE.spec.name}.gemspec"]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puma-0.8.0 tasks/gem.rake