Skip to content

Commit 77185be

Browse files
committed
Relax required files for docc script detection of the SwiftUsd repo root
1 parent 7cf58a2 commit 77185be

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

scripts/docc/Sources/SwiftUsdDoccUtil/FileSystemUtil.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ final public class Driver: Sendable {
3737

3838
// Do a smoke test to make sure we have something that looks like the SwiftUsd repo
3939
let repoContents = try! FileManager.default.contentsOfDirectory(atPath: result.path(percentEncoded: false))
40-
assert(repoContents.contains("docs"), "Error! Could not find SwiftUsd repo URL")
4140
assert(repoContents.contains("openusd-patch.patch"), "Error! Could not find SwiftUsd repo URL")
4241
assert(repoContents.contains("Package.swift"), "Error! Could not find SwiftUsd repo URL")
4342
assert(repoContents.contains("README.md"), "Error! Could not find SwiftUsd repo URL")
4443
assert(repoContents.contains("scripts"), "Error! Could not find SwiftUsd repo URL")
4544
assert(repoContents.contains("source"), "Error! Could not find SwiftUsd repo URL")
4645
assert(repoContents.contains("swift-package"), "Error! Could not find SwiftUsd repo URL")
4746
assert(repoContents.contains("SwiftUsd.docc"), "Error! Could not find SwiftUsd repo URL")
48-
assert(repoContents.contains("SwiftUsd.doccarchive"), "Error! Could not find SwiftUsd repo URL")
4947

5048
return result
5149
}

0 commit comments

Comments
 (0)