XPkgPackage

1.2.0

Package support for XPkg
elegantchaos/XPkgPackage

What's New

1.2

2022-08-08T22:07:54Z

When xpkg is in verbose mode, installing/removing packages is now also verbose.
Simplified the logging API a bit; removed Logger dependency.

Test results Latest release swift 5.6 shield swift 5.7 shield Platforms: macOS, Linux

Test results Latest release swift 5.1 shield swift 5.2 shield swift 5.3 shield swift dev shield Platforms: macOS, Linux

XPkgPackage

Support for XPkg packages.

Usage:

import XPkgPackage

let links = [
    ["local/file", "~/place/to/link/file"],
]

let package = InstalledPackage(fromCommandLine: CommandLine.arguments)
try! package.performAction(fromCommandLine: CommandLine.arguments, links: links)

Provides a way to parse the arguments passed by xpkg, and get back a struct representing this package.

The struct supplies an API for creating links, running commands, and finding out which xpkg action is being performed.

Description

  • Swift Tools 5.6.0
View More Packages from this Author

Dependencies

Last updated: Thu Oct 17 2024 23:47:49 GMT-0900 (Hawaii-Aleutian Daylight Time)