Sha256: 2570791f4139654cadf996b0d8bd4344d1c121e4337bad8071a75f6a3039fa95

Contents?: true

Size: 373 Bytes

Versions: 3

Compression:

Stored size: 373 Bytes

Contents

module Fastlane
  module Helper
    class XcodeprojHelper
      DEPENDENCY_MANAGER_DIRS = ['Pods', 'Carthage'].freeze

      def self.find(dir)
        xcodeproj_paths = Dir[File.expand_path(File.join(dir, '**/*.xcodeproj'))]
        xcodeproj_paths.reject { |path| %r{/(#{DEPENDENCY_MANAGER_DIRS.join('|')})/.*.xcodeproj} =~ path }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 fastlane/lib/fastlane/helper/xcodeproj_helper.rb
fastlane_hotfix-2.165.0 fastlane/lib/fastlane/helper/xcodeproj_helper.rb
fastlane_hotfix-2.187.0 fastlane/lib/fastlane/helper/xcodeproj_helper.rb