HHuckebein / package

Write or update binaryTarget information in a Package.swift file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Package

Swift codecov

package adds or updates the .binaryFramework section of a Package.swift file. It supports local and remote binary targets.

Usage

Depending on your use case:

  • framework artefact is stored together with the repo
    package write-local-binary target --name <name> --path <path>

or framework artefact is stored on a remote location

    package write-remote-binary-target --name <name> --url <url> --check-sum <check-sum>

Both subcommands accept additional parameter as where the Package.swift file is located --package-url (defaults to current working path) or --output-directory (defaults to --package-url).

Debug Mode

The flag forces the output to be printed to the console instead of writing it to a file.

    --debug

Code Coverage

    ./Support/showCoverage.sh

Set Build Identifier

    ./Support/setBuildIdentifier.sh

About

Write or update binaryTarget information in a Package.swift file

License:MIT License


Languages

Language:Swift 99.0%Language:Shell 1.0%