Skip to content

STRUCT

Config.ShellScript

Contents

swift
public struct ShellScript: Codable, Equatable

Properties

script

swift
public let script: String

The script to be executed with parameters.

isErrorIgnored

swift
public let isErrorIgnored: Bool

An error in the execution of the script will not interrupt the phase.

shellPath

swift
public let shellPath: String?

The path to the shell which shall execute this script. Default is current shell.

Methods

init(_:isErrorIgnored:shellPath:)

swift
public init(
    _ script: String,
    isErrorIgnored: Bool,
    shellPath: String?
)