# File lib/buildr/core/build.rb, line 427 def applies_to? if File.exist? '.git/config' true else curr_pwd = Dir.pwd Dir.chdir('..') do return false if curr_pwd == Dir.pwd # Means going up one level is not possible. applies_to? end end end