Sha256: 7ef6d5fbe9b194e4a4ec5445b3fbb89595557ccf5ea9851fe985c73b4a9e4dd9

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

require 'find'
require 'xezat/detectors'

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?('.am')
        end
        false
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xezat-0.0.4 lib/xezat/detector/automake.rb