Skip to content

Commit

Permalink
DOES download the specified path
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Jan 24, 2024
1 parent ae51add commit 61ec434
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## [0.7.6] 2024-01-10 UNOFFICIAL

- Fix "&path=" Quilt+ URIs
- Re-enable crash on failure

## [0.7.5] 2023-10-17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ ${nextflow}
log.error("Exception: ${e}")
print("FAILED: $pkg\n")
e.printStackTrace()
/* groovylint-disable-next-line ThrowRuntimeException */
throw new RuntimeException(e)
}
print("SUCCESS: $pkg\n")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,13 @@ class QuiltPackageTest extends QuiltSpecification {
def qpath = factory.parseUri(TEST_URL)
def qpkg = qpath.pkg()
Path outputFolder = pkg.packageDest()
Path readmeFile = outputFolder.resolve("README.md")
println("qpkg: ${qpkg}")
Path readmeFile = outputFolder.resolve('README.md')
println("qpkg: ${qpkg} -> ${qpath.localPath()} == ${readmeFile}")

expect:
readmeFile == qpath.localPath()
!qpath.isJustPackage()
!Files.isDirectory(qpath)
!Files.exists(readmeFile)
Files.isDirectory(outputFolder)
//!Files.exists(readmeFile)

qpkg.install()
Files.exists(qpath.localPath())
Expand All @@ -129,6 +128,7 @@ class QuiltPackageTest extends QuiltSpecification {
Files.exists(readmeFile)
Files.isRegularFile(readmeFile)
Files.isReadable(readmeFile)
readObject(readmeFile).startsWith('# Quilt Smart Reports')
}

void 'should return null on failed install'() {
Expand Down

0 comments on commit 61ec434

Please sign in to comment.