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.131.0.beta.20190901200035 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190831200041 frameit/lib/frameit/dependency_checker.rb
fastlane-2.131.0.beta.20190830200038 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190829200051 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190828200015 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190827200051 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190826200016 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190825200030 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190824200021 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190823200017 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190822200101 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190821200034 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190820200024 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190819200109 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190818200034 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190817200018 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190816200015 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190815200057 frameit/lib/frameit/dependency_checker.rb
fastlane-2.130.0.beta.20190814200010 frameit/lib/frameit/dependency_checker.rb