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.122.0.beta.20190427200023 frameit/lib/frameit/dependency_checker.rb
fastlane-2.122.0.beta.20190426200020 frameit/lib/frameit/dependency_checker.rb
fastlane-2.122.0.beta.20190425200104 frameit/lib/frameit/dependency_checker.rb
fastlane-2.122.0.beta.20190424200026 frameit/lib/frameit/dependency_checker.rb
fastlane-2.122.0.beta.20190423200058 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190422200029 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190421200026 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190420200032 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190419200010 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190418200030 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190417200018 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190416200048 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190415200032 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190414200028 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190413200059 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190412200021 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190411200023 frameit/lib/frameit/dependency_checker.rb
fastlane-2.121.0.beta.20190410200018 frameit/lib/frameit/dependency_checker.rb