muter icon indicating copy to clipboard operation
muter copied to clipboard

Add SwiftLint to build process

Open ZevEisenberg opened this issue 4 years ago • 1 comments

At minimum, it should run on CI and fail the build. It would also be nice to add a script that you run when you clone the repo, that sets up SwiftLint to run as a build phase.

Open questions:

  • how to include SwiftLint? I usually use CocoaPods, but that's not a great option here. What do similar CLI tools use?
  • can we help contributors by failing the build with a helpful error if SwiftLint isn't set up?

ZevEisenberg avatar Sep 11 '20 02:09 ZevEisenberg

Once swiftpm-extensible-build-tools lands, we'll be able to add that as part of the development cycle.

rakaramos avatar Mar 06 '21 22:03 rakaramos