Skip to content

Commit 5e2020a

Browse files
authored
Update Package.swift
1 parent 3fab2f2 commit 5e2020a

File tree

1 file changed

+0
-61
lines changed

1 file changed

+0
-61
lines changed

Package.swift

-61
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
11
// swift-tools-version:5.6
22

3-
// MIT License
4-
//
5-
// Copyright (c) 2017-2022 MessageKit
6-
//
7-
// Permission is hereby granted, free of charge, to any person obtaining a copy
8-
// of this software and associated documentation files (the "Software"), to deal
9-
// in the Software without restriction, including without limitation the rights
10-
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11-
// copies of the Software, and to permit persons to whom the Software is
12-
// furnished to do so, subject to the following conditions:
13-
// The above copyright notice and this permission notice shall be included in all
14-
// copies or substantial portions of the Software.
15-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
// SOFTWARE.
22-
233
import PackageDescription
244

255
let package = Package(
266
name: "MessageKit",
277
platforms: [.iOS(.v13)],
288
products: [
299
.library(name: "MessageKit", targets: ["MessageKit"]),
30-
.plugin(name: "SwiftLintPlugin", targets: ["SwiftLintPlugin"]),
31-
.plugin(name: "SwiftFormatPlugin", targets: ["SwiftFormatPlugin"]),
3210
],
3311
dependencies: [
3412
.package(url: "https://github.com/nathantannar4/InputBarAccessoryView", .upToNextMajor(from: "6.3.0")),
@@ -44,45 +22,6 @@ let package = Package(
4422
swiftSettings: [SwiftSetting.define("IS_SPM")]
4523
),
4624
.testTarget(name: "MessageKitTests", dependencies: ["MessageKit"]),
47-
48-
// MARK: - Plugins
49-
50-
.binaryTarget(
51-
name: "SwiftLintBinary",
52-
url: "https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip",
53-
checksum: "82ef90b7d76b02e41edd73423687d9cedf0bb9849dcbedad8df3a461e5a7b555"
54-
),
55-
.plugin(
56-
name: "SwiftLintPlugin",
57-
capability: .buildTool(),
58-
dependencies: ["SwiftLintBinary"]
59-
),
60-
.plugin(
61-
name: "SwiftLintCommandPlugin",
62-
capability: .command(
63-
intent: .custom(
64-
verb: "lint",
65-
description: "Lint Swift source files"
66-
)
67-
),
68-
dependencies: ["SwiftLintBinary"]
69-
),
70-
71-
.binaryTarget(
72-
name: "swiftformat",
73-
url: "https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip",
74-
checksum: "5ce27780dceee8714b15d53141e6dce1a8d626e970eade3c511c9ef1a0c06f40"
75-
),
76-
.plugin(
77-
name: "SwiftFormatPlugin",
78-
capability: .command(
79-
intent: .sourceCodeFormatting(),
80-
permissions: [
81-
.writeToPackageDirectory(reason: "Format Swift source files"),
82-
]
83-
),
84-
dependencies: ["swiftformat"]
85-
),
8625
],
8726
swiftLanguageVersions: [.v5]
8827
)

0 commit comments

Comments
 (0)