diff options
author | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-09-25 21:53:18 +0000 |
---|---|---|
committer | evanweaver <evanweaver@19e92222-5c0b-0410-8929-a290d50e31e9> | 2007-09-25 21:53:18 +0000 |
commit | f834811c948e55fdd5e128990ca9ad2df85f3281 (patch) | |
tree | 4d24921cb017b333262090fc756ce61d8a5a1714 /Rakefile | |
parent | 1b05168d47bf8058e0a7139113deb437f7e9f293 (diff) | |
download | unicorn-f834811c948e55fdd5e128990ca9ad2df85f3281.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@631 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -30,12 +30,17 @@ end task :compile do # Append a sanity check to the compile task - if Dir.glob(File.join("lib","http11.*")).length == 0 + files = Dir["lib/http11/http11.*"] + unless files.any? STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" STDERR.puts "Gem actually failed to build. Your system is" STDERR.puts "NOT configured properly to build Mongrel." STDERR.puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" exit(1) + else + files.each do |file| + mv file, "lib/" + end end end |