Sha256: f200250b3fdb5d9562e770a6168b298fbbdaf00635cd68d7bed46fe7db58cdfa
Contents?: true
Size: 1.14 KB
Versions: 76
Compression:
Stored size: 1.14 KB
Contents
module Fastlane module Actions module SharedValues SNAPSHOT_SCREENSHOTS_PATH = :SNAPSHOT_SCREENSHOTS_PATH end class SnapshotAction < Action def self.run(params) return nil unless Helper.mac? require 'snapshot' begin FastlaneCore::UpdateChecker.start_looking_for_update('snapshot') unless Helper.is_test? Snapshot.config = params Snapshot::DependencyChecker.check_simulators Snapshot::Runner.new.work Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH] = File.expand_path(params[:output_directory]) # absolute URL true ensure FastlaneCore::UpdateChecker.show_update_status('snapshot', Snapshot::VERSION) end end def self.description "Generate new localised screenshots on multiple devices" end def self.available_options return [] unless Helper.mac? require 'snapshot' Snapshot::Options.available_options end def self.author "KrauseFx" end def self.is_supported?(platform) platform == :ios end end end end
Version data entries
76 entries across 76 versions & 1 rubygems