-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CanonicalPackageLocation instead of PackageIdentity to correctly …
…differentiate remote and local packages
- Loading branch information
Showing
6 changed files
with
127 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
Tests/ScipioKitTests/Resources/Fixtures/CacheKeyTests/AsLocalPackage/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// swift-tools-version: 6.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AsLocalPackage", | ||
products: [ | ||
.library( | ||
name: "Foo", | ||
targets: ["Foo"] | ||
), | ||
], | ||
dependencies: [ | ||
.package(path: "../../scipio-testing"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Foo", | ||
dependencies: [ | ||
.product(name: "ScipioTesting", package: "scipio-testing"), | ||
] | ||
), | ||
] | ||
) |
Empty file.
25 changes: 25 additions & 0 deletions
25
Tests/ScipioKitTests/Resources/Fixtures/CacheKeyTests/AsRemotePackage/Package.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// swift-tools-version: 6.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "AsRemotePackage", | ||
products: [ | ||
.library( | ||
name: "Foo", | ||
targets: ["Foo"] | ||
), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/giginet/scipio-testing.git", exact: "3.0.0"), | ||
], | ||
targets: [ | ||
.target( | ||
name: "Foo", | ||
dependencies: [ | ||
.product(name: "ScipioTesting", package: "scipio-testing"), | ||
] | ||
), | ||
] | ||
) |
Empty file.