* Use a binary target for the build tool plugin
* Merge `push_version` and `release` make commands
Instead of running `make push_version "0.2.0: Tumble Dry"` and then
`make release`, now run `make release "0.2.0: Tumble Dry"`, which will
build the release artifacts and update/push the new version to GitHub.
This allows the artifacts to use the new version, update the artifact
bundle checksum in the package manifest, then tag the release.
The Releasing.md instructions were updated to reflect this new workflow.
* Add `SwiftLintSourcePlugin` source plugin for SwiftPM
* Add changelog entry
* Remove SwiftLintSourcePlugin for now
* Build from Source on Linux
* Use a lower-level method of checking if a file is accessible
This shouldn’t trigger sandbox violations, I hope…
* Prevent an infinite recursion of the filesystem root
* Remove unnecessary logging
* Quieten the output so that Xcode only prints violations
* Break up comment to avoid line length warning
* Fix capitalization of Glibc import
Co-authored-by: JP Simard <jp@jpsim.com>
* Only lint Swift source files within the provided target
* Restore plugin display name to “SwiftLint”
* Xcode targets don’t always conform to the SourceModuleTarget
Use a “baser” way to get at the Swift sources of the current target
* Use the cache path as the outputFiles
This prevents the warning we’re seeing in Xcode on every build, but shouldn’t interfere with the re-run logic
* Look for configuration files manually in the project directory and parents
* Check if the file is readable, not just that it exists
* Move the Path helper into a separate file
* Fix a wayward apostrophe
Signed-off-by: Tony Arnold <tony@thecocoabots.com>
* Add an entry to the CHANGELOG
Signed-off-by: Tony Arnold <tony@thecocoabots.com>
Signed-off-by: Tony Arnold <tony@thecocoabots.com>