From d120ffad9716fbb83806d9755b7b5fd28fdb758b Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 25 Feb 2009 12:38:47 -0800 Subject: rename http11 => unicorn/http11 Avoid conflicting with existing (and future) Mongrel installs in case either changes. Of course, this also allows us more freedom to experiment and break the API if needed... However, I'm only planning on making minor changes to remove the amount of C code we have to maintain and possibly some minor performance improvements. --- Rakefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index b350f74..1d217a2 100644 --- a/Rakefile +++ b/Rakefile @@ -6,7 +6,12 @@ Echoe.new("unicorn") do |p| p.summary = "A small fast HTTP library and server for Rack applications." p.author = "Eric Wong" p.email = "normalperson@yhbt.net" - p.clean_pattern = ['ext/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'lib/*.{bundle,so,o,obj,pdb,lib,def,exp}', 'ext/http11/Makefile', 'pkg', 'lib/*.bundle', '*.gem', 'site/output', '.config', 'coverage', 'test_*.log', 'log', 'doc'] + p.clean_pattern = ['ext/unicorn/http11/*.{bundle,so,o,obj,pdb,lib,def,exp}', + 'lib/*.{bundle,so,o,obj,pdb,lib,def,exp}', + 'ext/unicorn/http11/Makefile', + 'pkg', 'lib/*.bundle', '*.gem', + 'site/output', '.config', 'coverage', + 'test_*.log', 'log', 'doc'] p.url = "http://unicorn.bogomips.org" p.rdoc_pattern = ['README', 'LICENSE', 'CONTRIBUTORS', 'CHANGELOG', 'COPYING', 'lib/**/*.rb', 'doc/**/*.rdoc'] p.ignore_pattern = /^(pkg|site|projects|doc|log)|CVS|\.log/ @@ -24,7 +29,7 @@ end desc "Rebuild the Ragel sources" task :ragel do - Dir.chdir "ext/http11" do + Dir.chdir "ext/unicorn/http11" do target = "http11_parser.c" File.unlink target if File.exist? target sh "ragel http11_parser.rl -C -G2 -o #{target}" -- cgit v1.2.3-24-ge0c7