artemnovichkov/Carting
π A simple tool for updating Carthage script phase
Using
Run carting update in project folder. That's all.
By default Carting searches a script named Carthage, but you can set a name of your script via command line arguments:
$ carting update -s MyBestScriptIf there is no script with the name, Carting will add a new one.
Since Xcode 10 Run Script Phases support declaring input and output files in a .xcfilelist file. This file should contain a newline-separated list of the file paths for the inputs or outputs. Carting uses it by default. If you need to work with your projects in old Xcode versions, use -f file option.
π¨Note: be sure to have no uncommitted changes in project file to prevent project parsing errors π±.
<p align="center"> <img src=".github/error.png" max-width="90%" alt="Project parsing error" /> </p>
Run carting --help to see available commands:
OVERVIEW: π Simple tool for updating Carthage script phase
USAGE: Carting <command> <options>
SUBCOMMANDS:
info Prints Carthage frameworks list with linking description.
lint Lint the project for missing paths.
update Adds a new script with input/output file paths or updates the script named `Carthage`.Linting
Integrate Carting into an Xcode scheme to get errors displayed in the IDE. Just add a new "Run Script Phase" with:
/usr/local/bin/carting lint<p align="center"> <img src=".github/phase.png" max-width="90%" alt="Run Script Phase" /> </p>
Installing
Homebrew (recommended):
$ brew tap artemnovichkov/projects
$ brew install cartingMint:
$ mint run artemnovichkov/cartingMake:
$ git clone https://github.com/artemnovichkov/carting.git
$ cd Carting
$ makeSwift Package Manager:
let package = Package(
dependencies: [
.Package(url: "https://github.com/artemnovichkov/carting", majorVersion: 2)
]
)License
Carting is available under the MIT license. See the LICENSE file for more info.
Package Metadata
Repository: artemnovichkov/Carting
Stars: 184
Forks: 13
Open issues: 0
Default branch: master
Primary language: swift
License: MIT
Topics: carthage, homebrew, swift, swift-package-manager, swift-script, xcode
README: README.md