LCECripto new methods
This commit is contained in:
@@ -1,8 +1,17 @@
|
||||
// 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",
|
||||
@@ -10,14 +19,15 @@ let package = Package(
|
||||
],
|
||||
dependencies: [
|
||||
.package(
|
||||
url: "http://git.loverde.com.br:3000/git/LCECryptoKit.git",
|
||||
exact: "1.0.2"
|
||||
url: isLocalDevelopment ?
|
||||
"../LCECryptoKit/PrivateLib/LCECryptoKitBinary" :
|
||||
"http://7b47f7b439df1048cbf2fae1c46113df178e0349@git.loverde.com.br:3000/git/LCECryptoKitBinary.git",
|
||||
exact: "1.1.0"
|
||||
)
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "LCEssentials",
|
||||
dependencies: ["LCECryptoKit"]),
|
||||
|
||||
dependencies: ["LCECryptoKitBinary"]),
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user