Fix some package paths. Treat warnings as errors in all local modules.
This commit is contained in:
parent
e2b76c1e08
commit
2b76968391
@ -18,8 +18,8 @@ let package = Package(
|
|||||||
.package(path: "../Secrets"),
|
.package(path: "../Secrets"),
|
||||||
.package(path: "../SyncDatabase"),
|
.package(path: "../SyncDatabase"),
|
||||||
.package(path: "../RSCore"),
|
.package(path: "../RSCore"),
|
||||||
.package(url: "https://github.com/Ranchero-Software/RSDatabase.git", .upToNextMajor(from: "1.0.0")),
|
.package(path: "../RSDatabase"),
|
||||||
.package(url: "https://github.com/Ranchero-Software/RSParser.git", .upToNextMajor(from: "2.0.2")),
|
.package(path: "../RSParser"),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
@ -33,7 +33,9 @@ let package = Package(
|
|||||||
"ArticlesDatabase",
|
"ArticlesDatabase",
|
||||||
"Secrets",
|
"Secrets",
|
||||||
"SyncDatabase",
|
"SyncDatabase",
|
||||||
]),
|
],
|
||||||
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
||||||
|
),
|
||||||
.testTarget(
|
.testTarget(
|
||||||
name: "AccountTests",
|
name: "AccountTests",
|
||||||
dependencies: ["Account"],
|
dependencies: ["Account"],
|
||||||
|
@ -19,6 +19,8 @@ let package = Package(
|
|||||||
name: "Articles",
|
name: "Articles",
|
||||||
dependencies: [
|
dependencies: [
|
||||||
"RSCore"
|
"RSCore"
|
||||||
]),
|
],
|
||||||
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
||||||
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -12,8 +12,8 @@ let package = Package(
|
|||||||
targets: ["ArticlesDatabase"]),
|
targets: ["ArticlesDatabase"]),
|
||||||
],
|
],
|
||||||
dependencies: [
|
dependencies: [
|
||||||
.package(url: "https://github.com/Ranchero-Software/RSDatabase.git", .upToNextMajor(from: "1.0.0")),
|
.package(path: "../RSDatabase"),
|
||||||
.package(url: "https://github.com/Ranchero-Software/RSParser.git", .upToNextMajor(from: "2.0.2")),
|
.package(path: "../RSParser"),
|
||||||
.package(path: "../RSCore"),
|
.package(path: "../RSCore"),
|
||||||
.package(path: "../Articles"),
|
.package(path: "../Articles"),
|
||||||
],
|
],
|
||||||
@ -25,6 +25,8 @@ let package = Package(
|
|||||||
"RSDatabase",
|
"RSDatabase",
|
||||||
"RSParser",
|
"RSParser",
|
||||||
"Articles",
|
"Articles",
|
||||||
]),
|
],
|
||||||
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
||||||
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -16,7 +16,8 @@ let package = Package(
|
|||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
name: "Secrets",
|
name: "Secrets",
|
||||||
dependencies: []
|
dependencies: [],
|
||||||
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
@ -14,7 +14,7 @@ let package = Package(
|
|||||||
dependencies: [
|
dependencies: [
|
||||||
.package(path: "../RSCore"),
|
.package(path: "../RSCore"),
|
||||||
.package(path: "../Articles"),
|
.package(path: "../Articles"),
|
||||||
.package(url: "https://github.com/Ranchero-Software/RSDatabase.git", .upToNextMajor(from: "1.0.0")),
|
.package(path: "../RSDatabase.git"),
|
||||||
],
|
],
|
||||||
targets: [
|
targets: [
|
||||||
.target(
|
.target(
|
||||||
@ -23,6 +23,8 @@ let package = Package(
|
|||||||
"RSCore",
|
"RSCore",
|
||||||
"RSDatabase",
|
"RSDatabase",
|
||||||
"Articles",
|
"Articles",
|
||||||
]),
|
],
|
||||||
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
||||||
|
),
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user