Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/monstar-lab/betterxc
π§ Regenerate Xcode project and add optional SwiftLint/Sourcery integrations.
https://github.com/monstar-lab/betterxc
project regenerate sourcery swift swiftlint xcode
Last synced: about 2 months ago
JSON representation
π§ Regenerate Xcode project and add optional SwiftLint/Sourcery integrations.
- Host: GitHub
- URL: https://github.com/monstar-lab/betterxc
- Owner: monstar-lab
- License: mit
- Created: 2018-07-03T02:03:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T04:18:05.000Z (over 6 years ago)
- Last Synced: 2024-10-30T17:17:10.709Z (about 2 months ago)
- Topics: project, regenerate, sourcery, swift, swiftlint, xcode
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BetterXC
![Swift](https://img.shields.io/badge/swift-4.1-brightgreen.svg)
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](https://github.com/monstar-lab/homebrew-betterxc):
```
$ 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.