/
Package.swift
38 lines (36 loc) · 1.01 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
37
38
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "AppFeature",
platforms: [
.iOS(.v14),
],
products: [
.library(name: "AppFeature", targets: ["AppFeature"]),
],
dependencies: [
// Local Packages
.package(path: "../Core"),
],
targets: [
.binaryTarget(
name: "SwiftLintBinary",
url: "https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "9c255e797260054296f9e4e4cd7e1339a15093d75f7c4227b9568d63edddba50"
),
.plugin(
name: "SwiftLintXcode",
capability: .buildTool(),
dependencies: ["SwiftLintBinary"]
),
.target(
name: "AppFeature",
dependencies: [
"Core"
],
plugins: ["SwiftLintXcode"]),
.testTarget(
name: "AppFeatureTests",
dependencies: ["AppFeature"]),
]
)