Skip to content

Commit

Permalink
update package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Farquharson authored and Andrew Farquharson committed Nov 1, 2023
1 parent 8346fdc commit 87cc7e0
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,29 @@ import PackageDescription
let package = Package(
name: "rc-kit",
platforms: [
.macOS(.v12)
.macOS(.v10_15)
],
products: [
.library(name: "rc-kit", targets: ["rc-kit"]),
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "RCKit",
targets: ["RCKit"]),

Check warning on line 15 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0")
],
targets: [
.target( name: "rc-kit", dependencies: [
.product(name: "Vapor", package: "vapor")
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.

Check warning on line 22 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Line Length Violation: Line should be 120 characters or less: currently 122 characters (line_length)

Check warning on line 22 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Line Length Violation: Line should be 120 characters or less: currently 122 characters (line_length)
.target(
name: "RCKit",
dependencies: [
.product(name: "Vapor", package: "vapor"),

Check warning on line 26 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)
]),
.testTarget(name: "RCKitTests", dependencies: ["rc-kit"]),
.testTarget(
name: "RCKitTests",
dependencies: [
.target(name: "RCKit"),

Check warning on line 31 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

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

Check warning on line 32 in Package.swift

View workflow job for this annotation

GitHub Actions / SwiftLint

Trailing Comma Violation: Collection literals should not have trailing commas. (trailing_comma)
]
)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 87cc7e0

Please sign in to comment.