https://github.com/binarybirds/build-kit
A Swift wrapper around common Swift commands.
https://github.com/binarybirds/build-kit
swift swift-5
Last synced: 10 months ago
JSON representation
A Swift wrapper around common Swift commands.
- Host: GitHub
- URL: https://github.com/binarybirds/build-kit
- Owner: BinaryBirds
- License: mit
- Created: 2020-04-20T08:15:30.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2022-02-17T15:18:09.000Z (over 4 years ago)
- Last Synced: 2025-03-19T13:17:13.165Z (about 1 year ago)
- Topics: swift, swift-5
- Language: Swift
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BuildKit (🔨)
A Swift wrapper around common Swift commands.
## Usage
Some basic examples:
```swift
import BuildKit
let project = Project(path: "~/example")
try project.run(.package(.initialize(.executable)))
try project.run(.package(.update))
try project.run(.package(.generateXcodeProject))
try project.run(.build, flags: [.config(.debug), .stdlib(true)])
try project.run(.test, flags: [.parallel])
```
## Install
Just use the Swift Package Manager as usual:
```swift
.package(url: "https://github.com/binarybirds/build-kit", from: "1.0.0"),
```
Don't forget to add "PackageManagerKit" to your target as a dependency:
```swift
.product(name: "BuildKit", package: "build-kit"),
```
That's it.
## License
[WTFPL](LICENSE) - Do what the fuck you want to.