Skip to content

Commit

Permalink
Merge pull request #14 from yumemi-inc/feature/swiftpm-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
novr authored Nov 29, 2023
2 parents f145c77 + 11553c1 commit a15a88f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.3
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -9,21 +9,26 @@ let package = Package(
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "DangerSwiftShoki",
type: .dynamic,
targets: ["DangerSwiftShoki"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(name: "danger-swift", url: "https://github.com/danger/swift.git", from: "3.0.0"),
.package(url: "https://github.com/danger/swift.git", from: "3.0.0"),
],
targets: [
// 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.
.target(
name: "DangerSwiftShoki",
dependencies: [.product(name: "Danger", package: "danger-swift")]),
dependencies: [
.product(name: "Danger", package: "swift")
]
),
.testTarget(
name: "DangerSwiftShokiTests",
dependencies: ["DangerSwiftShoki"]),
dependencies: ["DangerSwiftShoki"]
),
]
)

0 comments on commit a15a88f

Please sign in to comment.