34 lines
946 B
Swift
34 lines
946 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
import Foundation
|
|
|
|
let isLocalDevelopment = FileManager.default.fileExists(atPath: "../LCECryptoKit/PrivateLib/LCECryptoKitBinary")
|
|
|
|
let package = Package(
|
|
name: "LCEssentials",
|
|
platforms: [
|
|
.iOS(.v13),
|
|
.macOS(.v10_15),
|
|
.tvOS(.v13),
|
|
.watchOS(.v6)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "LCEssentials",
|
|
targets: ["LCEssentials"]),
|
|
],
|
|
dependencies: [
|
|
.package(
|
|
url: isLocalDevelopment ?
|
|
"../LCECryptoKit/PrivateLib/LCECryptoKitBinary" :
|
|
"https://60c260c85d3a2fe840411b0ff98f521b5eca3c56@git.loverde.com.br/Loverde-Company-LTDA/LCECryptoKitBinary.git",
|
|
exact: "1.0.0"
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "LCEssentials",
|
|
dependencies: [.product(name: "LCECryptoKit", package: "lcecryptokitbinary")]),
|
|
]
|
|
)
|