Skip to content

Commit cf236fa

Browse files
authored
Merge pull request #673 from aciidb0mb3r/update-tests-2
Misc changes to remove dependency on Packages/ dir
2 parents 082b57d + 9a2399a commit cf236fa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Sources/Commands/SwiftTool.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ private class ToolWorkspaceDelegate: WorkspaceDelegate {
2727
}
2828

2929
func checkingOut(repository: String, at reference: String) {
30+
// FIXME: This is temporary output similar to old one, we will need to figure
31+
// out better reporting text.
32+
print("Resolved version: \(reference)")
3033
}
3134
}
3235

Tests/FunctionalTests/VersionSpecificTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class VersionSpecificTests: XCTestCase {
7272
try tagGitRepo(depPath, tag: "1.1.0@swift-\(Versioning.currentVersion.major)")
7373

7474
// The build should work now.
75-
try removeFileTree(primaryPath.appending(component: "Packages"))
75+
_ = try SwiftPMProduct.SwiftBuild.execute(["--clean=dist"], chdir: primaryPath)
7676
XCTAssertBuilds(primaryPath)
7777
}
7878
}

0 commit comments

Comments
 (0)