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

Add SwiftLint Plugin #7

Merged
merged 4 commits into from
Dec 27, 2023
Merged

Add SwiftLint Plugin #7

merged 4 commits into from
Dec 27, 2023

Conversation

mgacy
Copy link
Collaborator

@mgacy mgacy commented Dec 26, 2023

Adds SwiftLint as a dependency and uses its package plugin.

IIRC, this caused issues previously due to SwiftLint's specification of an untstable version of a dependency, which prevented the specification of a stable version of any package that depended on it. Version 0.54.0 (and probably before) only specifies stable versions. Moreover, that wouldn't be an issue for this package anyway as we specify an unstable version of swift-aws-lambda-runtime since the last release was nearly a year ago despite significant changes since.

Building this with the plugin fails on Linux, presumably because the artifact bundle specified by the plugin only supports macOS. As a result, the plugin is only added to the generic targets when built on macOS.

@mgacy mgacy requested review from jagreenwood and removed request for jagreenwood December 26, 2023 23:57
@mgacy mgacy marked this pull request as draft December 27, 2023 00:00
@mgacy mgacy marked this pull request as ready for review December 27, 2023 16:48
@mgacy mgacy merged commit 6f73df0 into main Dec 27, 2023
1 check passed
@mgacy mgacy deleted the chore/swiftlint branch December 27, 2023 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants