@@ -5,6 +5,9 @@ import PackageDescription
|
||||
|
||||
let package = Package(
|
||||
name: "TempestasDomain",
|
||||
platforms: [
|
||||
.macOS(.v14)
|
||||
],
|
||||
products: [
|
||||
// Products define the executables and libraries a package produces, making them visible to other packages.
|
||||
.library(
|
||||
@@ -12,15 +15,24 @@ let package = Package(
|
||||
targets: ["TempestasDomain"]
|
||||
),
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/realm/SwiftLint", from: "0.65.0"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.target(
|
||||
name: "TempestasDomain"
|
||||
name: "TempestasDomain",
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
name: "TempestasDomainTests",
|
||||
dependencies: ["TempestasDomain"]
|
||||
dependencies: ["TempestasDomain"],
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
],
|
||||
swiftLanguageModes: [.v6]
|
||||
|
||||
@@ -16,7 +16,8 @@ let package = Package(
|
||||
),
|
||||
],
|
||||
dependencies: [
|
||||
.package(path: "../TempestasDomain")
|
||||
.package(path: "../TempestasDomain"),
|
||||
.package(url: "https://github.com/realm/SwiftLint", from: "0.65.0"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
@@ -25,11 +26,17 @@ let package = Package(
|
||||
name: "TempestasInfrastructure",
|
||||
dependencies: [
|
||||
"TempestasDomain"
|
||||
],
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
name: "TempestasInfrastructureTests",
|
||||
dependencies: ["TempestasInfrastructure"]
|
||||
dependencies: ["TempestasInfrastructure"],
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
],
|
||||
swiftLanguageModes: [.v6]
|
||||
|
||||
@@ -16,7 +16,8 @@ let package = Package(
|
||||
),
|
||||
],
|
||||
dependencies: [
|
||||
.package(path: "../TempestasDomain")
|
||||
.package(path: "../TempestasDomain"),
|
||||
.package(url: "https://github.com/realm/SwiftLint", from: "0.65.0"),
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
@@ -26,10 +27,16 @@ let package = Package(
|
||||
dependencies: [
|
||||
"TempestasDomain"
|
||||
],
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
.testTarget(
|
||||
name: "TempestasPresentationTests",
|
||||
dependencies: ["TempestasPresentation"]
|
||||
dependencies: ["TempestasPresentation"],
|
||||
plugins: [
|
||||
.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLint"),
|
||||
]
|
||||
),
|
||||
],
|
||||
swiftLanguageModes: [.v6]
|
||||
|
||||
Reference in New Issue
Block a user