-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (30 loc) · 1.1 KB
/
Package.swift
File metadata and controls
32 lines (30 loc) · 1.1 KB
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
// swift-tools-version: 6.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "XcodeTargets",
platforms: [.macOS(.v14)],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.0"),
.package(url: "https://github.com/tuist/XcodeProj.git", .upToNextMajor(from: "9.7.1")),
.package(url: "https://github.com/tuist/Path.git", .upToNextMajor(from: "0.3.8"))
],
targets: [
.executableTarget(
name: "XcodeTargets",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "XcodeProj", package: "XcodeProj"),
.product(name: "Path", package: "Path")
]
),
.testTarget(
name: "XcodeTargetsTests",
dependencies: [
"XcodeTargets",
.product(name: "XcodeProj", package: "XcodeProj")
],
resources: [.copy("Example")]
)
]
)