From ce09fe6dac03e7640d3fa7cce25936ea446baf5f Mon Sep 17 00:00:00 2001 From: Konrad `ktoso` Malawski Date: Wed, 24 Aug 2022 12:33:23 +0900 Subject: [PATCH] Undo 5.7 package files, not needed yet (#232) * Undo 5.7 package files, not needed yet * no need for xcrun in docs preview script --- Package.swift | 2 +- Package@swift-5.6.swift | 36 ------------------------------------ scripts/preview_docc.sh | 2 +- 3 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 Package@swift-5.6.swift diff --git a/Package.swift b/Package.swift index c5cf4c31..e5f98599 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.7 +// swift-tools-version:5.6 //===----------------------------------------------------------------------===// // // This source file is part of the Swift Logging API open source project diff --git a/Package@swift-5.6.swift b/Package@swift-5.6.swift deleted file mode 100644 index e5f98599..00000000 --- a/Package@swift-5.6.swift +++ /dev/null @@ -1,36 +0,0 @@ -// swift-tools-version:5.6 -//===----------------------------------------------------------------------===// -// -// This source file is part of the Swift Logging API open source project -// -// Copyright (c) 2018-2019 Apple Inc. and the Swift Logging API project authors -// Licensed under Apache License v2.0 -// -// See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Swift Logging API project authors -// -// SPDX-License-Identifier: Apache-2.0 -// -//===----------------------------------------------------------------------===// - -import PackageDescription - -let package = Package( - name: "swift-log", - products: [ - .library(name: "Logging", targets: ["Logging"]), - ], - dependencies: [ - .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"), - ], - targets: [ - .target( - name: "Logging", - dependencies: [] - ), - .testTarget( - name: "LoggingTests", - dependencies: ["Logging"] - ), - ] -) diff --git a/scripts/preview_docc.sh b/scripts/preview_docc.sh index b5464670..978cfd14 100755 --- a/scripts/preview_docc.sh +++ b/scripts/preview_docc.sh @@ -13,4 +13,4 @@ ## ##===----------------------------------------------------------------------===## -xcrun swift package --disable-sandbox preview-documentation --target Logging +swift package --disable-sandbox preview-documentation --target Logging