stevedlawrence opened a new issue, #8:
URL: https://github.com/apache/daffodil-sbt/issues/8

   Although not very common, it is sometimes preferred to have a flattened 
schema layout, where there are only two directories `src/` and `test/`, with 
combined source and resource files in the directories, using just the file 
extension to differentiate. For example, dfdl-csv defines this in build.sbt:
   
   ```scala
   Compile / unmanagedSourceDirectories := Seq(baseDirectory.value / "src")
   Compile / unmanagedResourceDirectories := (Compile / 
unmanagedSourceDirectories).value
   Compile / unmanagedSources / includeFilter := "*.java" | "*.scala"
   Compile / unmanagedResources / excludeFilter := (Compile / unmanagedSources 
/ includeFilter).value
   
   Test / unmanagedSourceDirectories := Seq(baseDirectory.value / "test")
   Test / unmanagedResourceDirectories := (Test / 
unmanagedSourceDirectories).value
   Test / unmanagedSources / includeFilter := "*.java" | "*.scala"
   Test / unmanagedResources / excludeFilter := (Test / unmanagedSources / 
includeFilter).value
   ```
   
   We should have a single option that can be set in build.sbt to enable these 
settings so that we don't have to copy/paste this logic when we want a 
flattened layout.


-- 
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]

Reply via email to