Skip to content

Commit

Permalink
Merge pull request #18 from tuist/enable-complete-swift-concurrency
Browse files Browse the repository at this point in the history
Enable complete Swift strict concurrency
  • Loading branch information
pepicrft authored Jun 23, 2024
2 parents 0cbe281 + 02d3644 commit d37e225
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@

import PackageDescription

#if TUIST
import ProjectDescription

let packageSettings = PackageSettings(
baseSettings: .settings(base: ["SWIFT_STRICT_CONCURRENCY": "complete"])
)
#endif

let package = Package(
name: "FileSystem",
platforms: [.macOS("12.0")],
Expand Down
2 changes: 1 addition & 1 deletion Project.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import ProjectDescription

let project = Project(name: "FileSystem", targets: [
let project = Project(name: "FileSystem", settings: .settings(base: ["SWIFT_STRICT_CONCURRENCY": "complete"]), targets: [
.target(
name: "FileSystem",
destinations: .macOS,
Expand Down

0 comments on commit d37e225

Please sign in to comment.