Sha256: 2d4c1b9b3a8129cf21661a674091dc9f3391d25d83df45aeffd61eb1076697f0
Contents?: true
Size: 1.13 KB
Versions: 82
Compression:
Stored size: 1.13 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' 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 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 def self.example_code [ 'snapshot', 'snapshot( skip_open_summary: true, clean: true )' ] end def self.category :screenshots end end end end
Version data entries
82 entries across 82 versions & 1 rubygems
Version | Path |
---|---|
fastlane-2.0.2 | fastlane/lib/fastlane/actions/snapshot.rb |
fastlane-2.0.1 | fastlane/lib/fastlane/actions/snapshot.rb |