Sha256: 3bce53bafe8a21e56da0b9be76ba9d4af8f67a94a177f981fb861c2984dcfafb

Contents?: true

Size: 777 Bytes

Versions: 36

Compression:

Stored size: 777 Bytes

Contents

module Deliver
  class DependencyChecker
    def self.check_dependencies
      return if Helper.is_test?
      self.check_xcode_select
    end

    def self.check_xcode_select
      unless `xcode-select -v`.include?"xcode-select version "
        Helper.log.fatal '#############################################################'
        Helper.log.fatal "# You have to install the Xcode commdand line tools to use deliver"
        Helper.log.fatal "# Install the latest version of Xcode from the AppStore"
        Helper.log.fatal "# Run xcode-select --install to install the developer tools"
        Helper.log.fatal '#############################################################'
        raise "Run 'xcode-select --install' and start deliver again"
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
deliver-0.13.5 lib/deliver/dependency_checker.rb
deliver-0.13.4 lib/deliver/dependency_checker.rb
deliver-0.13.3 lib/deliver/dependency_checker.rb
deliver-0.13.2 lib/deliver/dependency_checker.rb
deliver-0.13.1 lib/deliver/dependency_checker.rb
deliver-0.13.0 lib/deliver/dependency_checker.rb
deliver-0.12.1 lib/deliver/dependency_checker.rb
deliver-0.12.0 lib/deliver/dependency_checker.rb
deliver-0.11.5 lib/deliver/dependency_checker.rb
deliver-0.11.4 lib/deliver/dependency_checker.rb
deliver-0.11.3 lib/deliver/dependency_checker.rb
deliver-0.11.2 lib/deliver/dependency_checker.rb
deliver-0.11.1 lib/deliver/dependency_checker.rb
deliver-0.11.1.beta lib/deliver/dependency_checker.rb
deliver-0.11.0 lib/deliver/dependency_checker.rb
deliver-0.10.0 lib/deliver/dependency_checker.rb
deliver-0.9.4 lib/deliver/dependency_checker.rb
deliver-0.9.3 lib/deliver/dependency_checker.rb
deliver-0.9.2 lib/deliver/dependency_checker.rb
deliver-0.9.1 lib/deliver/dependency_checker.rb