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.127.0.beta.20190708200031 frameit/lib/frameit/dependency_checker.rb
fastlane_iac_publish-0.1.4 frameit/lib/frameit/dependency_checker.rb
fastlane_iac_publish-0.1.3 frameit/lib/frameit/dependency_checker.rb
fastlane_iac_publish-0.1.2 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190707200017 frameit/lib/frameit/dependency_checker.rb
fastlane_iac_publish-0.1.1 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190706200054 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190705200056 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190704200049 frameit/lib/frameit/dependency_checker.rb
fastlane_iac_publish-0.1.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190703200032 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190701200019 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190630200023 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190629200029 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190628200030 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190627200058 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190625200058 frameit/lib/frameit/dependency_checker.rb
fastlane-2.127.0.beta.20190624200045 frameit/lib/frameit/dependency_checker.rb
fastlane-2.126.0 frameit/lib/frameit/dependency_checker.rb
fastlane-2.126.0.beta.20190623200100 frameit/lib/frameit/dependency_checker.rb