Sha256: 52f4de9515a5fc2ec67a94c2e8286f38ae3669f144c7bee3a2e89868b2f27b25

Contents?: true

Size: 313 Bytes

Versions: 8

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

require 'find'

module Xezat
  module Detector
    class Gnulib
      def detect(variables)
        File.foreach(File.join(variables[:top], variables[:cygportfile])) do |line|
          return true if line.index('gnulib-tools')
        end
        false
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xezat-0.3.1 lib/xezat/detector/gnulib.rb
xezat-0.3.0 lib/xezat/detector/gnulib.rb
xezat-0.2.3 lib/xezat/detector/gnulib.rb
xezat-0.2.2 lib/xezat/detector/gnulib.rb
xezat-0.2.1 lib/xezat/detector/gnulib.rb
xezat-0.2.0 lib/xezat/detector/gnulib.rb
xezat-0.1.2 lib/xezat/detector/gnulib.rb
xezat-0.1.1 lib/xezat/detector/gnulib.rb