-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
documentationIssues related to documentation, either from the tooling side or content-wise.Issues related to documentation, either from the tooling side or content-wise.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.
Description
New Issue Checklist
- [x ] I've Updated SwiftLint to the latest version.
- [ x] I've searched for existing GitHub issues.
Bug Description
The setup mentioned in the docs for SwiftPlugin doesn't work when executed with clonedSourcePackagesDirPath:
xcodebuild -clonedSourcePackagesDirPath ".build"
SWIFT_PACKAGE_DIR="${BUILD_DIR%Build/*}SourcePackages/artifacts"
SWIFTLINT_CMD=$(ls "$SWIFT_PACKAGE_DIR"/swiftlintplugins/SwiftLintBinary/SwiftLintBinary.artifactbundle/swiftlint-*/bin/swiftlint | head -n 1)
if test -f "$SWIFTLINT_CMD" 2>&1
then
"$SWIFTLINT_CMD"
else
echo "warning: `swiftlint` command not found - See https://github.com/realm/SwiftLint#installation for installation instructions."
fiPackages are then stored in a that folder, not the %BUILD_DIR.
Environment
- SwiftLint version: any
- Xcode version: 15.0, 16.0
- Installation method used: SwiftLintPlugins
Metadata
Metadata
Assignees
Labels
documentationIssues related to documentation, either from the tooling side or content-wise.Issues related to documentation, either from the tooling side or content-wise.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.Issue to be taken up by new contributors yet unfamiliar with the project.