Method: FastlaneCore::FastlaneFolder.fastfile_path
- Defined in:
- fastlane_core/lib/fastlane_core/fastlane_folder.rb
.fastfile_path ⇒ Object
Path to the Fastfile inside the fastlane folder. This is nil when none is available
46 47 48 49 50 51 52 53 54 55 56 |
# File 'fastlane_core/lib/fastlane_core/fastlane_folder.rb', line 46 def self.fastfile_path return nil if self.path.nil? # Check for Swift first, because Swift is #1 path = File.join(self.path, 'Fastfile.swift') return path if File.exist?(path) path = File.join(self.path, 'Fastfile') return path if File.exist?(path) return nil end |