mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
* Bump breez-sdk snippet dependency to 0.2.12 * Bump the Swift snippet macos version to v13 * Bump breez-sdk snippet dependency to 0.2.14 * swiftformat * redeem_onchain_funds example * Document swapinfo fields * example on how to use local breez-sdk package * fix dart example * yarn lint * remove swapinfo docs * dart fixup --------- Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
26 lines
977 B
Swift
26 lines
977 B
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "BreezSDKDocs",
|
|
platforms: [.macOS(.v13)],
|
|
dependencies: [
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.3"),
|
|
.package(url: "https://github.com/breez/breez-sdk-swift", from:"0.2.15")
|
|
],
|
|
targets: [
|
|
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
|
// Targets can depend on other targets in this package and products from dependencies.
|
|
.executableTarget(
|
|
name: "BreezSDKDocs",
|
|
dependencies: [
|
|
.product(name: "BreezSDK", package: "breez-sdk-swift"),
|
|
// use a local version of breez-sdk
|
|
// .product(name: "BreezSDK", package: "bindings-swift"),
|
|
],
|
|
path: "Sources"),
|
|
]
|
|
)
|