Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/).