Skip to content

Commit

Permalink
Slightly modify schemes parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed May 18, 2021
1 parent 6e02cf8 commit 60b44a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Snap/commands/sub/Run.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ extension Snap {
@Option(help: "The workspace used to make the screenshots.")
var workspace: String

@Option(help: "A list of schemes to run the screenshot tests on.")
@Option(name: [.short, .customLong("scheme")], help: "A scheme to run the screenshot tests on. Can be specified multiple times to generate screenshots for multiple schemes.")
var schemes: [String]

@Option(help: "The mode the tool should run in.")
Expand Down Expand Up @@ -106,6 +106,7 @@ extension Snap {
styles: \(mode.styles.map { $0.name })
devices: \(mode.devices.map { $0.name })
platform: \(platform)
schemes: \(schemes)
destination: \(outURL.path.appendPathComponent(zipFileName))
"""
print(configMessage)
Expand Down

0 comments on commit 60b44a3

Please sign in to comment.