Skip to content

Commit

Permalink
Added -enable-testing for all test targets
Browse files Browse the repository at this point in the history
  • Loading branch information
art-divin committed Aug 13, 2023
1 parent b3e931a commit 398024d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ var targets: [Target] = [
.copy("Stub/Result"),
.copy("Stub/Templates"),
.copy("Stub/Source")
]
],
swiftSettings: [.unsafeFlags(["-enable-testing"])]
),
.testTarget(
name: "CodableContextTests",
Expand All @@ -157,7 +158,8 @@ var targets: [Target] = [
path: "Templates/CodableContextTests",
exclude: [
"Info.plist"
]
],
swiftSettings: [.unsafeFlags(["-enable-testing"])]
),
.testTarget(
name: "TemplatesTests",
Expand All @@ -182,7 +184,8 @@ var targets: [Target] = [
.copy("Templates"),
.copy("Tests/Context"),
.copy("Tests/Expected")
]
],
swiftSettings: [.unsafeFlags(["-enable-testing"])]
),
.plugin(
name: "SourceryCommandPlugin",
Expand Down

0 comments on commit 398024d

Please sign in to comment.