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.
Once installed the command-line app can be run as follows:
$> create-project-plist --project-directory <path> --output-directory <path>
The two required options are:
--project-directory
: The directory path of your Swift Package, for which theInfo.plist
shall be generated or updated.--output-directory
: The directory path, where theInfo.plist
shall be written to. If aInfo.plist
exists already there, it will be merged.
Run the command-line app with --help
to see all options.
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:
$> swift run -- create-project-plist --project-directory <path> --output-directory <path>
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
:
$> create-project-plist [...] SomeKey:"Some longer value" NextKey:AnotherValue
You can install create-project-plist
using Homebrew:
> brew tap astzweig/formulae
> brew install create-project-plist
You can also just download the precompiled release version on the
release page.
Alternativly you can just download this repository and build the executable
yourself using swift build
.
This project keeps a changelog that adheres to Keep a Changelog.