mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
move swift examples (#100)
* move swift examples * swift workflow * fixup * rewirte gettingStarted * add README for swift * update fiat examples and addresss feedback
This commit is contained in:
24
snippets/swift/BreezSDKExamples/Package.swift
Normal file
24
snippets/swift/BreezSDKExamples/Package.swift
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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(.v12)],
|
||||
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.9")
|
||||
],
|
||||
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: "ArgumentParser", package: "swift-argument-parser"),
|
||||
.product(name: "BreezSDK", package: "breez-sdk-swift"),
|
||||
],
|
||||
path: "Sources"),
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user