diff --git a/Package.swift b/Package.swift index cfcd74ed6..84fd49f6c 100644 --- a/Package.swift +++ b/Package.swift @@ -16,8 +16,12 @@ if ProcessInfo.processInfo.environment["SQLITE_ENABLE_PREUPDATE_HOOK"] == "1" { cSettings.append(.define("GRDB_SQLITE_ENABLE_PREUPDATE_HOOK")) } -// Don't rely on this environment variable. It is only a convenience: -// $ make docs-localhost +// The SPI_BUILDER environment variable enables documentation building +// on . See +// +// for more information. +// +// SPI_BUILDER also enables the `make docs-localhost` command. var dependencies: [PackageDescription.Package.Dependency] = [] if ProcessInfo.processInfo.environment["SPI_BUILDER"] == "1" { dependencies.append(.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"))