Treat warnings as errors in RSCore.
This commit is contained in:
parent
a4baafd6dc
commit
7eba4a0e54
|
@ -10,10 +10,13 @@ let package = Package(
|
|||
.library(name: "RSCoreObjC", type: .dynamic, targets: ["RSCoreObjC"]),
|
||||
.library(name: "RSCoreResources", type: .static, targets: ["RSCoreResources"])
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "RSCore",
|
||||
dependencies: ["RSCoreObjC"]),
|
||||
targets: [
|
||||
.target(
|
||||
name: "RSCore",
|
||||
dependencies: ["RSCoreObjC"],
|
||||
swiftSettings: [
|
||||
.unsafeFlags(["-warnings-as-errors"])
|
||||
]),
|
||||
.target(
|
||||
name: "RSCoreObjC",
|
||||
dependencies: [],
|
||||
|
|
Loading…
Reference in New Issue