Swiftpack.co -  monstar-lab/BetterXC as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
monstar-lab/BetterXC
🔧 Regenerate Xcode project and add optional SwiftLint/Sourcery integrations.
.package(url: "https://github.com/monstar-lab/BetterXC.git", from: "0.9.3")

BetterXC

Swift

BetterXC allows you to regenerate your Xcode project while retaining (technically, adding) SwiftLint and Sourcery build phases. It also makes sure that SwiftLint phase is added as the last build phase while Sourcery phase is executed before source code compilation begins.

Installation

The recommended way of installing BetterXC is by using BetterXC tap:

$ brew tap monstar-lab/betterxc
$ brew install betterxc

Usage

$ xc --help
Regenerate Xcode project and add optional SwiftLint/Sourcery integrations.

Usage: xc
  -s,--nosourcery:
      Skip adding Sourcery phase
  -l,--noswiftlint:
      Skip adding SwiftLint phase

Known issues

Currently, it’s not possible to automatically disable adding either of these two phases, so in order to disable either of them, command-line arguments must be passed. In the future, it’ll be desirable to read an .xc configuration file instead, in order to determine which phases to add and which ones to skip.

GitHub

link
Stars: 2
Last commit: 3 years ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API