-
Notifications
You must be signed in to change notification settings - Fork 96
/
Package.swift
42 lines (40 loc) · 1.2 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
39
40
41
42
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "MEGAPlugins",
platforms: [
.macOS(.v10_15), .iOS(.v15)
],
products: [
.plugin(
name: "SwiftGen",
targets: ["SwiftGen"]
),
.plugin(
name: "SwiftLint",
targets: ["SwiftLint"]
)
],
targets: [
.binaryTarget(
name: "SwiftGenBinary",
url: "https://github.com/SwiftGen/SwiftGen/releases/download/6.6.2/swiftgen-6.6.2.artifactbundle.zip",
checksum: "7586363e24edcf18c2da3ef90f379e9559c1453f48ef5e8fbc0b818fbbc3a045"
),
.binaryTarget(
name: "SwiftLintBinary",
url: "https://github.com/realm/SwiftLint/releases/download/0.54.0/SwiftLintBinary-macos.artifactbundle.zip",
checksum: "963121d6babf2bf5fd66a21ac9297e86d855cbc9d28322790646b88dceca00f1"
),
.plugin(
name: "SwiftGen",
capability: .buildTool(),
dependencies: ["SwiftGenBinary"]
),
.plugin(
name: "SwiftLint",
capability: .buildTool(),
dependencies: ["SwiftLintBinary"]
)
]
)