stevedlawrence commented on a change in pull request #681:
URL: https://github.com/apache/daffodil/pull/681#discussion_r756286472
##########
File path: build.sbt
##########
@@ -339,3 +339,40 @@ lazy val unidocSettings = Seq(
}
},
)
+
+lazy val genExamplesSettings = Seq(
+ Compile / genExamples := {
+ val cp = (runtime2 / Test / dependencyClasspath).value
+ val inSrc = (runtime2 / Compile / sources).value
+ val inRSrc = (runtime2 / Test / resources).value
+ val stream = (runtime2 / streams).value
+ val filesToWatch = (inSrc ++ inRSrc).toSet
Review comment:
Does this need to watch more than just the sources and resources? For
example, what if a scala file in daffodil-core changes? Couldn't that
potentially require the need for a rebuild? Seems any changes to anything on
the classpath would need to be watched?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]