[Feature] Coordinator protocols #2

Merged
javier merged 5 commits from target/coordinator into main 2023-04-16 14:42:43 +00:00
Showing only changes of commit 77a2472dbf - Show all commits

View File

@ -2,22 +2,41 @@
import PackageDescription
private var excludePlatforms: [String] = [.PlatformFolder.iOS]
#if os(iOS)
excludePlatforms = []
#endif
let package = Package(
name: "SwiftLibs",
products: [
.library(
name: "SwiftLibs",
targets: [
"Coordinator",
"Core"
]
),
],
dependencies: [],
targets: [
.target(
name: "Coordinator",
dependencies: [],
exclude: excludePlatforms
),
.target(
name: "Core",
dependencies: []
),
.testTarget(
name: "CoordinatorTests",
dependencies: [
]
"Coordinator"
],
path: "Tests/Coordinator",
exclude: excludePlatforms
),
.testTarget(
name: "CoreTests",
@ -28,3 +47,11 @@ let package = Package(
),
]
)
// MARK: - String+Constants
private extension String {
enum PlatformFolder {
static let iOS = "Platform/iOS"
}
}