Sha256: cbdcc9e6667d12480defe1ab4bd028c568efd80b791eee80d522fa3af1c3c24d
Contents?: true
Size: 687 Bytes
Versions: 24
Compression:
Stored size: 687 Bytes
Contents
module Coconductor module Projects class FSProject < Licensee::Projects::FSProject include Coconductor::Projects::Project private # Returns the set of unique paths to search for project files # in order from @dir -> @root def search_directories search_enumerator.map(&:to_path) .push(@root) # ensure root is included in the search .concat(subdirs) .uniq # don't include the root twice if @dir == @root end def subdirs Coconductor::Projects::Project::DIRS.map do |dir| File.expand_path dir, @dir end end end end end
Version data entries
24 entries across 24 versions & 1 rubygems