Sha256: 7f50d2a2fe887e7580303a7b174dde842546a2b891e78b390d9f500ab9878fdd
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
module Fastlane module Actions module SharedValues SNAPSHOT_SCREENSHOTS_PATH = :SNAPSHOT_SCREENSHOTS_PATH end class SnapshotAction < Action def self.run(params) 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 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fastlane-1.35.0 | lib/fastlane/actions/snapshot.rb |
fastlane-1.34.0 | lib/fastlane/actions/snapshot.rb |