37 lines
1 KiB
Swift
37 lines
1 KiB
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "LilithAgentCore",
|
|
platforms: [
|
|
.macOS(.v13),
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "LilithAgentCore",
|
|
targets: ["LilithAgentCore"]
|
|
),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.9.0"),
|
|
.package(url: "https://github.com/SwiftyJSON/SwiftyJSON.git", from: "5.0.0"),
|
|
.package(url: "https://github.com/httpswift/swifter.git", from: "1.5.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "LilithAgentCore",
|
|
dependencies: [
|
|
"Alamofire",
|
|
"SwiftyJSON",
|
|
.product(name: "Swifter", package: "swifter"),
|
|
],
|
|
path: "Sources/LilithAgentCore"
|
|
),
|
|
.testTarget(
|
|
name: "LilithAgentCoreTests",
|
|
dependencies: ["LilithAgentCore"],
|
|
path: "Tests/LilithAgentCoreTests"
|
|
),
|
|
]
|
|
)
|