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

Build http11 extension using rake-compiler.

This commit is contained in:
Luis Lavena 2009-07-06 22:46:03 -03:00
parent eb7f3bc852
commit b72ba2d43d
4 changed files with 13 additions and 3 deletions

View file

@ -1,7 +1,7 @@
=== (unrealeased) / 2009-07-??
* Rake task project reorganization and reformat using Hoe.
* Compile extension using rake-compiler
=== 1.1.5 / 2008-05-22

View file

@ -30,6 +30,7 @@ ext/http11/http11_parser_common.rl
ext/http11_java/Http11Service.java
ext/http11_java/org/jruby/mongrel/Http11.java
ext/http11_java/org/jruby/mongrel/Http11Parser.java
lib/mongrel.rb
lib/mongrel/camping.rb
lib/mongrel/cgi.rb
lib/mongrel/command.rb
@ -47,10 +48,9 @@ lib/mongrel/rails.rb
lib/mongrel/stats.rb
lib/mongrel/tcphack.rb
lib/mongrel/uri_classifier.rb
lib/mongrel.rb
mongrel-public_cert.pem
setup.rb
tasks/gem.rake
tasks/native.rake
test/mime.yaml
test/mongrel.conf
test/test_cgi_wrapper.rb

View file

@ -12,6 +12,7 @@ HOE = Hoe.spec 'mongrel' do
spec_extras[:required_ruby_version] = Gem::Requirement.new('>= 1.8.6')
spec_extras[:extensions] = ["ext/http11/extconf.rb"]
spec_extras[:executables] = ['mongrel_rails']
extra_deps << ['gem_plugin', '>= 0.2.3']
extra_dev_deps << ['rake-compiler', ">= 0.5.0"]

9
tasks/native.rake Normal file
View file

@ -0,0 +1,9 @@
# use rake-compiler for building the extension
require 'rake/extensiontask'
# build http11 C extension
Rake::ExtensionTask.new('http11', HOE.spec) do |ext|
end
# ensure things are built prior testing
task :test => [:compile]