-
Notifications
You must be signed in to change notification settings - Fork 25
/
Package.swift
31 lines (29 loc) · 966 Bytes
/
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Alloy",
platforms: [
.iOS(.v11),
.macOS(.v10_13)
],
products: [
.library(name: "Alloy",
targets: ["Alloy","AlloyShadersSharedTypes"]),
],
targets: [
.target(name: "AlloyShadersSharedTypes",
publicHeadersPath: "."),
.target(name: "Alloy",
dependencies: [.target(name: "AlloyShadersSharedTypes")],
resources: [.process("Shaders/Shaders.metal")]),
.target(name: "AlloyTestsResources",
path: "Tests/AlloyTestsResources",
resources: [
.copy("Shared"),
.copy("TextureCopy")
]),
.testTarget(name: "AlloyTests",
dependencies: ["Alloy", "AlloyTestsResources"],
resources: [.process("Shaders/Shaders.metal")])
]
)