Permalink
Browse files

Automatically add geocouch dep if found.

Change-Id: I1bdfea19c080a38bc35c49d41a1533c56c0181a3
Reviewed-on: http://review.membase.org/4878
Tested-by: Dustin Sallings <dustin@spy.net>
Reviewed-by: Jason Smith <jason@couchbase.com>
  • Loading branch information...
1 parent 27d51ad commit f2e73336957cc2f8873ba7dafcd99ee590c7d25c @dustin dustin committed with Jason Smith Mar 13, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 tasks/couchdb.rake
View
@@ -98,6 +98,10 @@ namespace :couchdb do
plugins = (ENV['plugin'] || "") + "," + (ENV['plugins'] || "")
plugins = plugins.split(',').map{|x| x.strip}.select{|x| ! x.empty? }
+ if File.exists? "#{DEPS}/geocouch/Makefile"
+ plugins << "#{DEPS}/geocouch"
+ end
+
unless plugins.empty?
puts "Setting otp_keep=\"*\" for building plugins"
ENV['otp_keep'] = '*'

0 comments on commit f2e7333

Please sign in to comment.