From 703e91c9196b5dc64abb6765d48f6fc8d923451f Mon Sep 17 00:00:00 2001 From: Victoria Mitchell Date: Wed, 25 May 2022 14:53:12 -0600 Subject: [PATCH] use "cmark" instead of "swift-cmark-gfm" in the toolchain build rdar://90461704 --- Package.swift | 4 ++-- Package@swift-5.5.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Package.swift b/Package.swift index 10eb5c2c..2a271ab3 100644 --- a/Package.swift +++ b/Package.swift @@ -14,7 +14,7 @@ import PackageDescription import class Foundation.ProcessInfo -let cmarkPackageName = ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil ? "swift-cmark" : "swift-cmark-gfm" +let cmarkPackageName = ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil ? "swift-cmark" : "cmark" let package = Package( name: "swift-markdown", @@ -57,7 +57,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { } else { // Building in the Swift.org CI system, so rely on local versions of dependencies. package.dependencies += [ - .package(path: "../swift-cmark-gfm"), + .package(path: "../cmark"), .package(path: "../swift-argument-parser"), ] } diff --git a/Package@swift-5.5.swift b/Package@swift-5.5.swift index 8adce3c3..e97676da 100644 --- a/Package@swift-5.5.swift +++ b/Package@swift-5.5.swift @@ -14,7 +14,7 @@ import PackageDescription import class Foundation.ProcessInfo -let cmarkPackageName = ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil ? "swift-cmark" : "swift-cmark-gfm" +let cmarkPackageName = ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil ? "swift-cmark" : "cmark" let package = Package( name: "swift-markdown", @@ -64,7 +64,7 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil { } else { // Building in the Swift.org CI system, so rely on local versions of dependencies. package.dependencies += [ - .package(path: "../swift-cmark-gfm"), + .package(path: "../cmark"), .package(path: "../swift-argument-parser"), ] }