Skip to content

Commit 006b3b9

Browse files
committed
The Workspace target only needs to depend on SPMBuildCore, not Build.
Everything it needs has already been moved to SPMBuildCore.
1 parent e56e867 commit 006b3b9

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ let package = Package(
140140
.target(
141141
/** High level functionality */
142142
name: "Workspace",
143-
dependencies: ["SwiftToolsSupport-auto", "Build", "PackageGraph", "PackageModel", "SourceControl", "Xcodeproj"]),
143+
dependencies: ["SwiftToolsSupport-auto", "SPMBuildCore", "PackageGraph", "PackageModel", "SourceControl", "Xcodeproj"]),
144144

145145
// MARK: Commands
146146

Sources/Workspace/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2019 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See http://swift.org/LICENSE.txt for license information
@@ -23,7 +23,7 @@ add_library(Workspace
2323
target_link_libraries(Workspace PUBLIC
2424
TSCBasic
2525
TSCUtility
26-
Build
26+
SPMBuildCore
2727
PackageGraph
2828
PackageLoading
2929
PackageModel

Sources/Workspace/Destination.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import TSCBasic
22
import TSCUtility
3-
import Build
43
import SPMBuildCore
54

65
public enum DestinationError: Swift.Error {

Sources/Workspace/UserToolchain.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import TSCBasic
1212
import TSCUtility
1313
import PackageLoading
1414
import SPMBuildCore
15-
import Build
1615
import Foundation
1716

1817
#if os(Windows)

0 commit comments

Comments
 (0)