import WorkspaceConfiguration .product(name: "WorkspaceConfiguration", package: "Workspace")
Structure

CustomTask

A custom task.

Declaration

struct CustomTask

Overview

A custom task can be any executable vended as a Swift package. Exit code 0 must indicate that the project passes validation or that refreshment was successful. Any other exit code must indicate that the project fails validation or that the task itself failed. Output will be included in the log.

Initialisers

Properties

arguments

Any arguments for the executable.

executable

The name of the executable for the task.

url

The URL of the Swift package defining the task.

version

The version of the Swift package defining the task.

Decodable

init(from:)

Encodable

encode(to:)
Linux macOS