Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astzweig/swift-project-info-plist
🔖 Generate or update a `Info.plist` for your Swift Package Manager projects.
https://github.com/astzweig/swift-project-info-plist
artifact-generator info-plist swift swiftpm
Last synced: about 1 month ago
JSON representation
🔖 Generate or update a `Info.plist` for your Swift Package Manager projects.
- Host: GitHub
- URL: https://github.com/astzweig/swift-project-info-plist
- Owner: astzweig
- License: eupl-1.2
- Created: 2024-07-21T22:34:15.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-26T02:12:36.000Z (5 months ago)
- Last Synced: 2024-07-26T03:32:17.822Z (5 months ago)
- Topics: artifact-generator, info-plist, swift, swiftpm
- Language: Swift
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔖 Project Info Plist
A command-line app to generate or update a `Info.plist` for your Swift Package
Manager projects using the package information and information from git.## Usage
Once installed the command-line app can be run as follows:```zsh
$> create-project-plist --project-directory --output-directory
```The two required options are:
1. `--project-directory`: The directory path of your Swift Package, for which
the `Info.plist` shall be generated or updated.
2. `--output-directory`: The directory path, where the `Info.plist` shall be
written to. If a `Info.plist` exists already there, it will be merged.
Run the command-line app with `--help` to see all options.### Swift Run
Alternativly, if you do not want to build and install the command-line app on
your system, you can use `swift run` inside your local copy of this repository:```zsh
$> swift run -- create-project-plist --project-directory --output-directory
```### Adding additional Key-Value pairs
The command-line app supports setting additional key/value pairs. Just supply
them at the end of the command line using the format `key:value`:```zsh
$> create-project-plist [...] SomeKey:"Some longer value" NextKey:AnotherValue
```## Install
You can install `create-project-plist` using Homebrew:```sh
> brew tap astzweig/formulae
> brew install create-project-plist
```You can also just download the precompiled release version on the
[release page](https://github.com/astzweig/swift-project-info-plist/releases).
Alternativly you can just download this repository and build the executable
yourself using `swift build`.## Changelog
This project keeps a [changelog](CHANGELOG.md) that adheres to
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/).