-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
36 lines (34 loc) · 1.27 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "Alloy",
platforms: [
.macOS(.v14),
.iOS(.v17),
.visionOS(.v1)
],
products: [
.library(name: "Alloy", targets: ["Alloy"]),
.library(name: "AlloyRandom", targets: ["AlloyRandom"]),
.library(name: "AlloyDatasets", targets: ["AlloyDatasets"]),
.library(name: "AlloyNN", targets: ["AlloyNN"]),
.library(name: "AlloyUtils", targets: ["AlloyUtils"]),
.executable(name: "AlloyExamples", targets: ["AlloyExamples"])
],
targets: [
.target(name: "Alloy", dependencies: ["AlloyUtils"]),
.target(name: "AlloyRandom", dependencies: ["Alloy"]),
.target(name: "AlloyDatasets", dependencies: ["Alloy"]),
.target(name: "AlloyNN", dependencies: ["Alloy"]),
.target(name: "AlloyUtils"),
.target(name: "AlloyDemos", dependencies: ["Alloy"]),
.executableTarget(name: "AlloyExamples", dependencies: ["Alloy", "AlloyDatasets", "AlloyRandom", "AlloyUtils"]),
// Add a test target that depends on "Alloy" and the "Testing" framework
.testTarget(
name: "AlloyTests",
dependencies: [
"Alloy",
]
)
]
)