diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-07-05 15:46:52 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-07-15 01:17:39 -0700 |
commit | a0f2c4514e969d0a127227201cbdb8e57f71df63 (patch) | |
tree | b88fef09c90f2df707c703dddecad27ab46aed77 /Rakefile | |
parent | d3dd9cd839b85d92e2080ba10ed38c58d96a6e9d (diff) | |
download | unicorn-a0f2c4514e969d0a127227201cbdb8e57f71df63.tar.gz |
Rename unicorn/http11 => unicorn_http
We couldn't do proper namespacing for the C module so there was a potential conflict with Init_http11() in Mongrel. This was needed because Mongrel's HTTP parser could be used in some applications and we may be unfortunate enough need to support them.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -6,9 +6,9 @@ Echoe.new("unicorn") do |p| p.summary = "Rack HTTP server for Unix, fast clients and nothing else" p.author = "Eric Wong" p.email = "normalperson@yhbt.net" - p.clean_pattern = ['ext/unicorn/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', + p.clean_pattern = ['ext/unicorn_http/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'lib/*.{bundle,so,o,obj,pdb,lib,def,exp}', - 'ext/unicorn/http11/Makefile', + 'ext/unicorn_http/Makefile', 'pkg', 'lib/*.bundle', '*.gem', 'site/output', '.config', 'coverage', 'test_*.log', 'log', 'doc'] @@ -29,10 +29,10 @@ end desc "Rebuild the Ragel sources" task :ragel do - Dir.chdir "ext/unicorn/http11" do - target = "http11_parser.c" + Dir.chdir "ext/unicorn_http" do + target = "unicorn_http.c" File.unlink target if File.exist? target - sh "ragel http11_parser.rl -C -G2 -o #{target}" + sh "ragel unicorn_http.rl -C -G2 -o #{target}" raise "Failed to build C source" unless File.exist? target end end |