/b2swift

Primary LanguageSwift

b2swift

Warning: This project is not tested and may have bugs in it. I do use this project, however I've only tested the parts that I use. If you run into an issue or something is missing, open an Issue.

To use this project in your repository, add the following line to your dependencies:

.package(url: "https://github.com/ezfe/b2swift", .branch("master"))

Also remember to add b2Swift to the target dependencies.

Example Package.swift file:

import PackageDescription

let package = Package(
    name: "ProjectName",
    products: [
        .library(
            name: "ProjectName",
            targets: ["ProjectName"]),
    ],
    dependencies: [
        .package(url: "https://github.com/ezfe/b2swift", .branch("master"))
    ],
    targets: [
        .target(
            name: "ProjectName",
            dependencies: ["b2swift"]),
        .testTarget(
            name: "ProjectNameTests",
            dependencies: ["ProjectName"]),
    ]
)