Sha256: 6f49fc29ad5fa750f5bbdf444ab452167a14a0e13a02d4b92a4edbfcb612103c

Contents?: true

Size: 732 Bytes

Versions: 656

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

656 entries across 656 versions & 5 rubygems

Version Path
fastlane-2.225.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.224.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.223.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.223.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.222.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.221.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.221.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.220.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.219.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.218.0 frameit/lib/frameit/dependency_checker.rb
fastlane-security-patched-2.216.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.217.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.216.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.215.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.215.0 frameit/lib/frameit/dependency_checker.rb
fastlane-mercafacil-2.214.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.214.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.213.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.212.2 frameit/lib/frameit/dependency_checker.rb
fastlane_pricing_fix-2.212.1 frameit/lib/frameit/dependency_checker.rb