Skip to content

Commit 7b661e1

Browse files
keklandjosxha
andauthored
fix: remove trailing comma from Package.swift in maplibre_ios (#394)
Hi! Trying out the package for an app that I'm working on. Couldn't get it to build on iOS with SPM unless I remove the trailing comma from the `Package.swift`. --------- Co-authored-by: Joscha Eckert <[email protected]>
1 parent 66177de commit 7b661e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: "Install SwiftFormat"
3333
run: brew install swiftformat
3434
- name: "Format Swift code"
35-
run: swiftformat --verbose --lint . --reporter github-actions-log --swiftversion 6 --indent 2
35+
run: swiftformat --verbose --lint . --reporter github-actions-log --swiftversion 6 --indent 2 --disable trailingCommas
3636
lint-dart:
3737
name: "[Dart] Static code analysis"
3838
runs-on: ubuntu-latest

maplibre_ios/ios/maplibre_ios/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let package = Package(
3232
cSettings: [
3333
.headerSearchPath("include/maplibre_ios"),
3434
]
35-
),
35+
)
3636
// FOR LOCAL LIBRARY
3737
// .binaryTarget(
3838
// name: "MapLibre",

0 commit comments

Comments
 (0)