Bocho is a set of utility libraries with common code that supports Yanagiba modules.
Bocho is part of Yanagiba Project. Yanagiba umbrella project is a toolchain of compiler modules, libraries, and utilities, written in Swift and for Swift.
Add the bocho dependency to Package.swift
:
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "MyPackage",
dependencies: [
.package(url: "https://github.com/yanagiba/bocho.git", from: "0.18.10")
],
targets: [
.target(name: "MyTarget", dependencies: ["Bocho"]),
],
swiftLanguageVersions: [.v5]
)
import Bocho
let ttyColoredString = "foobar".colored(with: .red)
Browse source code for other applications.
Building the entire project can be done by simply calling:
make
This is equivalent to
swift build
Compile and run the entire tests by:
make test
Bocho is available under the Apache License 2.0. See the LICENSE file for more info.
link |
Stars: 1 |
Last commit: 2 years ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics