Skip to content

Commit b6f9961

Browse files
committed
Remove unused plugins
1 parent da60110 commit b6f9961

15 files changed

+18
-37
lines changed

Package.swift

+2-22
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ let package = Package(
55
name: "skip",
66
defaultLocalization: "en",
77
products: [
8-
.plugin(name: "hello-skip", targets: ["Hello Skip"]),
9-
.plugin(name: "run-kotlin-tests", targets: ["Run Kotlin Tests"]),
10-
.plugin(name: "synchronize-gradle", targets: ["Synchronize Gradle Project"]),
8+
.plugin(name: "skip-init", targets: ["Hello Skip"]),
119
.plugin(name: "skip", targets: ["Skip Custom Command"]),
1210

1311
.plugin(name: "preflight", targets: ["skip-preflight"]),
@@ -41,16 +39,7 @@ let package = Package(
4139
""")
4240
]),
4341
dependencies: ["skiptool"],
44-
path: "Plugins/HelloSkip"),
45-
46-
//.plugin(name: "Run Kotlin Tests",
47-
// capability: .command(
48-
// intent: .custom(verb: "skip-test", description: "Add Kotlin Targets to the current Package.swift"),
49-
// permissions: [
50-
// .writeToPackageDirectory(reason: "Skip needs to create and update the Skip folder in the project."),
51-
// ]),
52-
// dependencies: ["skiptool"],
53-
// path: "Plugins/RunGradleTests"),
42+
path: "Plugins/SkipInit"),
5443

5544
.plugin(name: "Skip Custom Command",
5645
capability: .command(
@@ -61,15 +50,6 @@ let package = Package(
6150
dependencies: ["skiptool"],
6251
path: "Plugins/SkipCommand"),
6352

64-
//.plugin(name: "Synchronize Gradle Project",
65-
// capability: .command(
66-
// intent: .custom(verb: "skip-sync", description: "Create local links to the transpiled gradle project(s)"),
67-
// permissions: [
68-
// .writeToPackageDirectory(reason: "Skip needs to create and update the Skip folder in the project."),
69-
// ]),
70-
// dependencies: ["skiptool"],
71-
// path: "Plugins/SynchronizeGradle"),
72-
7353
.plugin(name: "skip-preflight",
7454
capability: .buildTool(),
7555
dependencies: ["skiptool"],

Plugins/RunGradleTests/RunGradleTestsCommandPlugIn.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin

Plugins/Shared/PluginSupport.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin

Plugins/SkipCommand/SkipCommandPlugin.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin
88

9-
@main struct RunGradleTests: CommandPlugin {
9+
@main struct SkipInitPlugin: CommandPlugin {
1010
func performCommand(context: PluginContext, arguments: [String]) async throws {
1111
try performBuildCommand(.default, context: context, arguments: arguments)
1212
}
@@ -15,9 +15,10 @@ import PackagePlugin
1515
//#if canImport(XcodeProjectPlugin)
1616
//import XcodeProjectPlugin
1717
//
18-
//extension SynchronizeGradleCommandPlugin: XcodeCommandPlugin {
18+
//extension SkipInitPlugin: XcodeCommandPlugin {
1919
// /// 👇 This entry point is called when operating on an Xcode project.
2020
// func performCommand(context: XcodePluginContext, arguments: [String]) throws {
21+
// try performBuildCommand(.default, context: context, arguments: arguments)
2122
// }
2223
//}
2324
//#endif

Plugins/SkipPreflightPlugIn/SkipPreflightPlugIn.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin

Plugins/SkipTranspilePlugIn/SkipTranspilePlugIn.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin

Plugins/SynchronizeGradle/SynchronizeGradleCommandPlugin.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77
import PackagePlugin

Sources/SkipDriver/GradleDriver.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77

Sources/SkipDriver/SkipDriver.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77

Sources/SkipDriver/ToolSupport.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import Foundation
77

Sources/SkipTool/skiptool.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import SkipBuild
77

Tests/SkipDriverTests/GradleDriverTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import XCTest
77
@testable import SkipDriver

Tests/SkipDriverTests/SkipDriverTests.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright 2023 Skip
22
//
33
// This is free software: you can redistribute and/or modify it
4-
// under the terms of the GNU Lesser General Public License 3.0
4+
// under the terms of the GNU Affero General Public License 3.0
55
// as published by the Free Software Foundation https://fsf.org
66
import XCTest
77
@testable import SkipDriver

0 commit comments

Comments
 (0)