Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
.library(name: "SwiftBundler", targets: ["SwiftBundler"]),
.library(name: "SwiftBundlerRuntime", targets: ["SwiftBundlerRuntime"]),
.library(name: "SwiftBundlerBuilders", targets: ["SwiftBundlerBuilders"]),
.plugin(name: "SwiftBundlerCommandPlugin", targets: ["SwiftBundlerCommandPlugin"]),

Check warning on line 14 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 14 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.5.0"),
Expand Down Expand Up @@ -43,7 +43,7 @@
// File watcher dependencies
.package(url: "https://github.com/sersoft-gmbh/swift-inotify", "0.4.0"..<"0.5.0"),
.package(url: "https://github.com/apple/swift-system", from: "1.2.0"),
.package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.3"),

Check warning on line 46 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 46 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
],
targets: [
.executableTarget(name: "swift-bundler", dependencies: ["SwiftBundler"]),
Expand Down Expand Up @@ -109,13 +109,18 @@
.target(
name: "FileSystemWatcher",
condition: .when(platforms: [.macOS, .linux])
),

Check warning on line 112 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 112 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
],
resources: [
.embedInCode("Resources/gradlew"),
.embedInCode("Resources/gradle-wrapper.jar"),
.embedInCode("Resources/DefaultAndroidIcon.webp"),

Check warning on line 117 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 117 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
],
swiftSettings: [
.define("SUPPORT_HOT_RELOADING", .when(platforms: [.macOS, .linux])),
.define("SUPPORT_XCODEPROJ", .when(platforms: [.macOS])),
.swiftLanguageMode(.v5),
.enableUpcomingFeature("FullTypedThrows"),

Check warning on line 123 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 123 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
),

Expand All @@ -125,7 +130,7 @@
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
.product(name: "MacroToolkit", package: "swift-macro-toolkit"),

Check warning on line 133 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 133 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
),

Expand All @@ -133,7 +138,7 @@
name: "schema-gen",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
.product(name: "SwiftParser", package: "swift-syntax"),

Check warning on line 141 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)

Check warning on line 141 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
),

Expand All @@ -142,7 +147,7 @@
dependencies: [
.product(name: "FlyingSocks", package: "FlyingFox"),
"HotReloadingProtocol",
"SwiftBundlerRuntimeC",

Check warning on line 150 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
),
.target(name: "SwiftBundlerRuntimeC"),
Expand Down Expand Up @@ -182,7 +187,7 @@
name: "AsyncAlgorithms",
package: "swift-async-algorithms",
condition: .when(platforms: [.linux])
),

Check warning on line 190 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
),

Expand All @@ -209,6 +214,6 @@
dependencies: [
.target(name: "swift-bundler")
]
),

Check warning on line 217 in Package.swift

View workflow job for this annotation

GitHub Actions / swift-lint

Trailing Comma Violation: Collection literals should not have trailing commas (trailing_comma)
]
)
Loading
Loading