-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
31 lines (29 loc) · 1.09 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
// swift-tools-version:5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "swift-mustache-cli",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)],
products: [
.executable(name: "mustache", targets: ["MustacheCLI"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.4.0"),
.package(url: "https://github.com/hummingbird-project/swift-mustache", from: "2.0.0-beta"),
.package(url: "https://github.com/jpsim/yams", from: "5.1.0"),
],
targets: [
.executableTarget(
name: "MustacheCLI",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Mustache", package: "swift-mustache"),
.product(name: "Yams", package: "yams"),
]
),
.testTarget(
name: "MustacheCLITests",
dependencies: ["MustacheCLI"]
)
]
)