Sha256: aceab72872a36ecd8e116717f315ef1ac2105776f06e28f55e142381480a2507
Contents?: true
Size: 461 Bytes
Versions: 5
Compression:
Stored size: 461 Bytes
Contents
# frozen_string_literal: true require 'find' module Xezat module Detector class Make def detect(variables) Find.find(variables[:B]) do |file| return true if file.end_with?("#{File::SEPARATOR}Makefile", "#{File::SEPARATOR}makefile") end File.foreach(File.join(variables[:top], variables[:cygportfile])) do |line| return true if line.index('cygmake') end false end end end end
Version data entries
5 entries across 5 versions & 1 rubygems