lib/produce/dependency_checker.rb in produce-0.1.1 vs lib/produce/dependency_checker.rb in produce-0.1.2

- old
+ new

@@ -1,22 +1,8 @@ module Produce class DependencyChecker def self.check_dependencies - self.check_phantom_js self.check_xcode_select unless Helper.is_test? - end - - def self.check_phantom_js - if `which phantomjs`.length == 0 - # Missing brew dependency - Helper.log.fatal '#############################################################' - Helper.log.fatal "# You have to install phantomjs to use produce" - Helper.log.fatal "# phantomjs is used to control the iTunesConnect frontend" - Helper.log.fatal "# Install Homebrew using http://brew.sh/" if `which brew`.length == 0 - Helper.log.fatal "# Run 'brew update && brew install phantomjs' and start produce again" - Helper.log.fatal '#############################################################' - raise "Run 'brew update && brew install phantomjs' and start produce again" - end end def self.check_xcode_select unless `xcode-select -v`.include?"xcode-select version " Helper.log.fatal '#############################################################' \ No newline at end of file