Library Product

WorkspaceConfiguration

The root API used in configuration files.

Declaration

.library(name: "WorkspaceConfiguration")

Overview

Workspace can be configured by placing a Swift file named Workspace.swift in the project root.

The contents of a configuration file might look something like this:

import WorkspaceConfiguration /* Exernal packages can be imported with this syntax: import [module] // [url], [version], [product] */ import SDGControlFlow // https://github.com/SDGGiesbrecht/SDGCornerstone, 0.10.0, SDGControlFlow let configuration = WorkspaceConfiguration() configuration.optIntoAllTasks() configuration.documentation.api.generate = true configuration.documentation.api.yearFirstPublished = 2017

Modules

WorkspaceConfiguration

The root API used in configuration files.

Linux macOS