swift-system-exit

1.0.0

`exit` system call for Swift
dduan/swift-system-exit

What's New

1.0.0

2022-04-20T18:40:16Z

swift-system-exit

A cross-platform wrapper for the exit C standard API. It provides Swift conventional style adjustment, and eliminates the need for #if os imports.

This package pretends to be part of apple/swift-system, and aspire to be subsumed by it one day.

Install

This is a standard SwiftPM package. Include it the standard way in your manifest:

let package = Package(
    // name, platforms, products, etc.
    dependencies: [
        .package(url: "https://github.com/dduan/swift-system-exit", from: "1.0.0"),
        // other dependencies
    ],
    targets: [
        .target(name: "MyTarget", dependencies: [
            .product(name: "SystemExit", package: "swift-system-exit"),
        ]),
        // other targets
    ]
)

LICENSE

See LICENSE for license information.

Description

  • Swift Tools 5.2.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri Oct 18 2024 05:47:13 GMT-0900 (Hawaii-Aleutian Daylight Time)