Sha256: 4639e1285313f3aaa36c500a0828cf92c5d132ef4df9a006883ea0a85eace548

Contents?: true

Size: 768 Bytes

Versions: 22

Compression:

Stored size: 768 Bytes

Contents

module Produce
  class DependencyChecker
    def self.check_dependencies
      self.check_xcode_select unless Helper.is_test?
    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 produce"
        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 produce again"
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
produce-0.6.2 lib/produce/dependency_checker.rb
produce-0.6.1 lib/produce/dependency_checker.rb
produce-0.6.0 lib/produce/dependency_checker.rb
produce-0.5.1 lib/produce/dependency_checker.rb
produce-0.5.0 lib/produce/dependency_checker.rb
produce-0.4.3 lib/produce/dependency_checker.rb
produce-0.4.2 lib/produce/dependency_checker.rb
produce-0.4.1 lib/produce/dependency_checker.rb
produce-0.4.0 lib/produce/dependency_checker.rb
produce-0.3.5 lib/produce/dependency_checker.rb
produce-0.3.4 lib/produce/dependency_checker.rb
produce-0.3.3 lib/produce/dependency_checker.rb
produce-0.3.2 lib/produce/dependency_checker.rb
produce-0.3.1 lib/produce/dependency_checker.rb
produce-0.3.0 lib/produce/dependency_checker.rb
produce-0.2.1 lib/produce/dependency_checker.rb
produce-0.2.0 lib/produce/dependency_checker.rb
produce-0.1.6 lib/produce/dependency_checker.rb
produce-0.1.5 lib/produce/dependency_checker.rb
produce-0.1.4 lib/produce/dependency_checker.rb