Skip to content

Commit

Permalink
Merge pull request #671 from xuwei-k/parentheses-PathFinder-get
Browse files Browse the repository at this point in the history
add parentheses `PathFinder.get`
  • Loading branch information
eed3si9n authored Oct 16, 2024
2 parents 540a5c4 + 1ae91f1 commit 00de0a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ object ScalaxbCompile {
}
def inputs: (List[File], FilesInfo[ModifiedFileInfo], String) =
(sources.toList, lastModified(sources.toSet).asInstanceOf[FilesInfo[ModifiedFileInfo]], BuildInfo.version)
cachedCompile(inputs)(() => exists((outDir ** "*.scala").get.toSet).asInstanceOf[FilesInfo[PlainFileInfo]])
cachedCompile(inputs)(() => exists((outDir ** "*.scala").get().toSet).asInstanceOf[FilesInfo[PlainFileInfo]])
}
}
4 changes: 2 additions & 2 deletions sbt-scalaxb/src/main/scala/sbtscalaxb/ScalaxbPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ object ScalaxbPlugin extends sbt.AutoPlugin {
sources := {
val xsd = scalaxbXsdSource.value
val wsdl = scalaxbWsdlSource.value
(wsdl ** "*.wsdl").get.sorted ++ (xsd ** "*.xsd").get.sorted
(wsdl ** "*.wsdl").get().sorted ++ (xsd ** "*.xsd").get().sorted
},
clean := {
val outdir = sourceManaged.value
IO.delete((outdir ** "*").get)
IO.delete((outdir ** "*").get())
IO.createDirectory(outdir)
},
scalaxbCombinedPackageNames := {
Expand Down

0 comments on commit 00de0a3

Please sign in to comment.