Skip to content
Permalink
Browse files

Update 'Core' test target name to 'CorePromise'

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 9d7028285724099a5f3218894d2f6865465113a1
Showing with 2 additions and 2 deletions.
  1. +1 −1 Package.swift
  2. +1 −1 Tests/LinuxMain.swift
@@ -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,7 +2,7 @@
// DO NOT EDIT

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

0 comments on commit 9d70282

Please sign in to comment.
You can’t perform that action at this time.