34 lines
933 B
Swift
34 lines
933 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" :
|
|
"http://7b47f7b439df1048cbf2fae1c46113df178e0349@git.loverde.com.br:3000/git/LCECryptoKitBinary.git",
|
|
exact: "1.1.0"
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "LCEssentials",
|
|
dependencies: [.product(name: "LCECryptoKit", package: "lcecryptokitbinary")]),
|
|
]
|
|
)
|