Skip to content

Commit

Permalink
Fixed Package.swift dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Obbut committed Jan 26, 2024
1 parent 4319e31 commit ef0f7c5
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 9 deletions.
25 changes: 17 additions & 8 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"pins" : [
{
"identity" : "swift-macro-testing",
"identity" : "swift-case-paths",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-macro-testing.git",
"location" : "https://github.com/pointfreeco/swift-case-paths.git",
"state" : {
"revision" : "10dcef36314ddfea6f60442169b0b320204cbd35",
"version" : "0.2.2"
"revision" : "76d7791b5bda47df7e3d4690c4c3aaf089730707",
"version" : "1.2.1"
}
},
{
"identity" : "swift-macro-toolkit",
"identity" : "swift-macro-testing",
"kind" : "remoteSourceControl",
"location" : "https://github.com/stackotter/swift-macro-toolkit.git",
"location" : "https://github.com/pointfreeco/swift-macro-testing.git",
"state" : {
"revision" : "106daeb38eb3f52b1540aed981fc63fa22274576",
"version" : "0.3.1"
"revision" : "10dcef36314ddfea6f60442169b0b320204cbd35",
"version" : "0.2.2"
}
},
{
Expand All @@ -35,6 +35,15 @@
"revision" : "74203046135342e4a4a627476dd6caf8b28fe11b",
"version" : "509.0.0"
}
},
{
"identity" : "xctest-dynamic-overlay",
"kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
"state" : {
"revision" : "b58e6627149808b40634c4552fcf2f44d0b3ca87",
"version" : "1.1.0"
}
}
],
"version" : 2
Expand Down
7 changes: 6 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ let package = Package(
),

// Library that exposes a macro as part of its API, which is used in client programs.
.target(name: "Sync", dependencies: ["SyncMacros"]),
.target(name: "Sync", dependencies: [
"SyncMacros",

// For enum support
.product(name: "CasePaths", package: "swift-case-paths"),
]),

// A client of the library, which is able to use the macro in its own code.
.executableTarget(name: "SyncClient", dependencies: ["Sync"]),
Expand Down

0 comments on commit ef0f7c5

Please sign in to comment.