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.106.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.105.2 frameit/lib/frameit/dependency_checker.rb
fastlane-2.105.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.104.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.103.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.103.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.102.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.101.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.101.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.100.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.100.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.99.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.99.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.98.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.97.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.96.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.96.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.96.0.beta.20180521050117 frameit/lib/frameit/dependency_checker.rb
fastlane-2.96.0.beta.20180520050019 frameit/lib/frameit/dependency_checker.rb
fastlane-2.96.0.beta.20180519050103 frameit/lib/frameit/dependency_checker.rb