Skip to content

Commit

Permalink
Update order of Package.swift entries
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniusnaumann committed Oct 13, 2023
1 parent 689ead6 commit 2305058
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions templates/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ let package = Package(
.binaryTarget(name: "RustFramework", path: "./RustFramework.xcframework"),
.target(
name: "{{ package_name }}",
{% if !enable_warnings %}
swiftSettings: [
.unsafeFlags(["-suppress-warnings"]),
],
{%- endif %}
dependencies: [
.target(name: "RustFramework")
]{% if !enable_warnings %},
swiftSettings: [
.unsafeFlags(["-suppress-warnings"]),
]
{%- endif %}
),
]
)

0 comments on commit 2305058

Please sign in to comment.