Sha256: f4bb67d9b70890bd041e1a1f76d38ffa4c4ba76272c6bec3d999b3052d57d4a1

Contents?: true

Size: 770 Bytes

Versions: 3

Compression:

Stored size: 770 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

3 entries across 3 versions & 1 rubygems

Version Path
produce-0.6.5 lib/produce/dependency_checker.rb
produce-0.6.4 lib/produce/dependency_checker.rb
produce-0.6.3 lib/produce/dependency_checker.rb