Compare commits

...

2 Commits

Author SHA1 Message Date
Simon Kågedal Reimer ffc73d03f3 Update README 2019-02-11 09:36:21 +01:00
Simon Kågedal Reimer e9caec86ec Add tool as build product 2019-02-11 09:26:04 +01:00
2 changed files with 8 additions and 3 deletions

View File

@ -5,6 +5,12 @@ import PackageDescription
let package = Package(
name: "xcodeproj-modify",
products: [
.executable(
name: "xcodeproj-modify",
targets: ["xcodeproj-modify"]
)
],
dependencies: [
.package(url: "https://github.com/tuist/xcodeproj.git", from: "6.2.0"),
],

View File

@ -15,11 +15,10 @@ This will edit your Xcode project `MyProject.xcodeproj` and add a Run Script pha
## Installation
Using Mint:
Using [Mint](https://github.com/yonaskolb/Mint):
```shell
$ mint install skagedal/xcodeproj-modify
```
You may also add the tool as a SPM dependency in your Package.swift and then run it with `swift run xcodeproj-modify`.
You may also add the tool as a SPM dependency in your Package.swift and then run it with `swift run xcodeproj-modify`. As an example, see how this is done in my tool ([generate-xcodeproj.sh](https://github.com/skagedal/appicon-generator/blob/master/generate-xcodeproj.sh), [Package.swift](https://github.com/skagedal/appicon-generator/blob/master/Package.swift)).