LCECripto new methods

This commit is contained in:
Daniel Arantes Loverde
2025-07-29 11:59:11 -03:00
parent 241d69ecc1
commit daae48817a
2 changed files with 17 additions and 16 deletions

View File

@@ -1,22 +1,13 @@
{ {
"originHash" : "44b8e5e2df460df1228d77443081e1dcd9b6f190e7ad7ee6b71e3905676b1b0a", "originHash" : "ef48d023f19d8a2c259992041cec23f906eb03f03bebe9fca0d61ede6bf8de57",
"pins" : [ "pins" : [
{
"identity" : "lcecryptokit",
"kind" : "remoteSourceControl",
"location" : "http://git.loverde.com.br:3000/git/LCECryptoKit.git",
"state" : {
"revision" : "125725ae59b7bf8a2aa536d5440acf0bd4099834",
"version" : "1.0.2"
}
},
{ {
"identity" : "lcecryptokitbinary", "identity" : "lcecryptokitbinary",
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "http://7b47f7b439df1048cbf2fae1c46113df178e0349@git.loverde.com.br:3000/git/LCECryptoKitBinary.git", "location" : "http://7b47f7b439df1048cbf2fae1c46113df178e0349@git.loverde.com.br:3000/git/LCECryptoKitBinary.git",
"state" : { "state" : {
"revision" : "8b4083e6227d6f56e7e9eec618fe46cdf452c8b7", "revision" : "2e7850fdb14cacf6bf2eb160f64c3df84cf5b1c4",
"version" : "1.0.0" "version" : "1.1.0"
} }
} }
], ],

View File

@@ -1,8 +1,17 @@
// swift-tools-version: 6.0 // swift-tools-version: 6.0
import PackageDescription import PackageDescription
import Foundation
let isLocalDevelopment = FileManager.default.fileExists(atPath: "../LCECryptoKit/PrivateLib/LCECryptoKitBinary")
let package = Package( let package = Package(
name: "LCEssentials", name: "LCEssentials",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6)
],
products: [ products: [
.library( .library(
name: "LCEssentials", name: "LCEssentials",
@@ -10,14 +19,15 @@ let package = Package(
], ],
dependencies: [ dependencies: [
.package( .package(
url: "http://git.loverde.com.br:3000/git/LCECryptoKit.git", url: isLocalDevelopment ?
exact: "1.0.2" "../LCECryptoKit/PrivateLib/LCECryptoKitBinary" :
"http://7b47f7b439df1048cbf2fae1c46113df178e0349@git.loverde.com.br:3000/git/LCECryptoKitBinary.git",
exact: "1.1.0"
) )
], ],
targets: [ targets: [
.target( .target(
name: "LCEssentials", name: "LCEssentials",
dependencies: ["LCECryptoKit"]), dependencies: ["LCECryptoKitBinary"]),
] ]
) )