Skip to content

Commit

Permalink
Update 'Core' test target name to 'CorePromise'
Browse files Browse the repository at this point in the history
More descriptive name avoids target conflicts during swift build process
when depending on multiple packages that also have a 'Core' target

- Fixes Test: LinuxMain import of Core
  • Loading branch information
bitwit committed Jun 13, 2018
1 parent 6b9aa80 commit 9d70282
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Expand Up @@ -26,5 +26,5 @@ pkg.swiftLanguageVersions = [3, 4]
pkg.targets = [
pmk,
.testTarget(name: "A+", dependencies: ["PromiseKit"]),
.testTarget(name: "Core", dependencies: ["PromiseKit"], path: "Tests/CorePromise"),
.testTarget(name: "CorePromise", dependencies: ["PromiseKit"], path: "Tests/CorePromise"),
]
2 changes: 1 addition & 1 deletion Tests/LinuxMain.swift
Expand Up @@ -2,7 +2,7 @@
// DO NOT EDIT


@testable import Core
@testable import CorePromise
@testable import A_
import XCTest

Expand Down

0 comments on commit 9d70282

Please sign in to comment.