about summary refs log tree commit homepage
path: root/Rakefile
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-02-25 12:38:47 -0800
committerEric Wong <normalperson@yhbt.net>2009-02-25 12:39:33 -0800
commitd120ffad9716fbb83806d9755b7b5fd28fdb758b (patch)
tree6c2fde419978edb8d420dbb352c74746626f6fdc /Rakefile
parent1f29d32cb095cbc21a095772db2fbaf216781f97 (diff)
downloadunicorn-d120ffad9716fbb83806d9755b7b5fd28fdb758b.tar.gz
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 7 insertions, 2 deletions
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}"