Sha256: b8133d01d9f500167ded2b5852a2c5f1c25eb625ae655e5122cc09e74b8ec294
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
# frozen_string_literal: true require 'find' module Xezat module Detector class Cmake def detect(variables) Find.find(variables[:S]) do |file| return true if file.end_with?(File::SEPARATOR + 'CMakeLists.txt') end false end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xezat-0.2.0 | lib/xezat/detector/cmake.rb |
xezat-0.1.2 | lib/xezat/detector/cmake.rb |