Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update: swift settings #14

Merged
merged 1 commit into from
Nov 29, 2023
Merged

update: swift settings #14

merged 1 commit into from
Nov 29, 2023

Conversation

novr
Copy link
Member

@novr novr commented Nov 29, 2023

main

@novr novr added the breaking-change Breaking change label Nov 29, 2023
@novr novr self-assigned this Nov 29, 2023
@novr novr requested a review from a team November 29, 2023 05:21
Copy link
Member

@el-hoshino el-hoshino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[maybe]
確かここは敢えて danger-swift にした記憶があります… 🤔 "swift" だとあまりにも紛らわしすぎるので

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"swift"わかりにくいんですが、package(name:url:from:)がDeprecatedになっていたので置き換えました
https://developer.apple.com/documentation/packagedescription/package/dependency/package(name:url:_:)-7zltl

danger側にhttps://github.com/danger/danger-swift.gitに変えてもらえれば 😖

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😇

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

利用側で.package(url:from:)表記に変更すると
.product(name: "DangerSwiftShoki", package: "danger-swift-shoki")で指定しないといけないのか
packageとproduct nameを合わせろと言うことか 🙈

@novr novr merged commit a15a88f into main Nov 29, 2023
1 check passed
@novr novr deleted the feature/swiftpm-bump branch November 29, 2023 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change Breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants