Skip to content

Commit be0e21f

Browse files
authored
feat: resolve #1 update source file paths naming (#2)
1 parent f76833e commit be0e21f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: Package.swift

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.8
1+
// swift-tools-version: 5.5
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
@@ -9,17 +9,17 @@ let package = Package(
99
products: [
1010
// Products define the executables and libraries a package produces, making them visible to other packages.
1111
.library(name: "GybExample", targets: ["GybExample"]),
12-
.plugin(name: "Gyb", targets: ["Gyb"]),
12+
.plugin(name: "GybPlugin", targets: ["GybPlugin"]),
1313
],
1414
targets: [
1515
// Targets are the basic building blocks of a package, defining a module or a test suite.
1616
// Targets can depend on other targets in this package and products from dependencies.
1717
.target(
1818
name: "GybExample",
19-
plugins: [.plugin(name: "Gyb")]),
19+
plugins: [.plugin(name: "GybPlugin")]),
2020

2121
.plugin(
22-
name: "Gyb",
22+
name: "GybPlugin",
2323
capability: .buildTool(),
2424
dependencies: ["gyb"]),
2525

@@ -29,6 +29,6 @@ let package = Package(
2929

3030
.testTarget(
3131
name: "GybTests",
32-
dependencies: ["GybExample", "Gyb"])
32+
dependencies: ["GybExample", "GybPlugin"])
3333
]
3434
)
File renamed without changes.
File renamed without changes.

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ let package = Package(
7777
// other dependencies
7878
],
7979
plugins: [
80-
.plugin(name: "Gyb", package: "swift-gyb"),
80+
.plugin(name: "GybPlugin", package: "swift-gyb"),
8181
]
8282
),
8383
// other targets

0 commit comments

Comments
 (0)