Sha256: 6f49fc29ad5fa750f5bbdf444ab452167a14a0e13a02d4b92a4edbfcb612103c

Contents?: true

Size: 732 Bytes

Versions: 657

Compression:

Stored size: 732 Bytes

Contents

require_relative 'module'

module Frameit
  class DependencyChecker
    def self.check_dependencies
      return if Helper.test?

      self.check_image_magick
    end

    def self.check_image_magick
      unless `which convert`.include?("convert")
        UI.error('#############################################################')
        UI.error("# You have to install the ImageMagick to use FrameIt")
        UI.error("# Install it using 'brew update && brew install imagemagick'")
        UI.error("# If you don't have homebrew: http://brew.sh")
        UI.error('#############################################################')
        UI.user_error!("Install ImageMagick and start frameit again!")
      end
    end
  end
end

Version data entries

657 entries across 657 versions & 5 rubygems

Version Path
fastlane-2.132.0.beta.20190920200012 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190919200100 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190918200023 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190917200011 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190916200055 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190915200038 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190914200034 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190913200058 frameit/lib/frameit/dependency_checker.rb
fastlane-2.132.0.beta.20190912200052 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190911200010 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190910200104 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190909200058 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190908200041 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190907200030 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190906200026 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190905200113 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190904200040 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190903200013 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190902200022 frameit/lib/frameit/dependency_checker.rb