lib/xezat/detector/automake.rb in xezat-0.0.2 vs lib/xezat/detector/automake.rb in xezat-0.0.3
- old
+ new
@@ -3,9 +3,10 @@
module Xezat
module Detector
class Automake
DetectorManager::register(:automake, self)
+
def detect(variables)
Find::find(variables[:S]) do |file|
return true if file.end_with?(File::SEPARATOR + 'Makefile.am')
end
false