jadams-tresys commented on code in PR #183:
URL: https://github.com/apache/daffodil-sbt/pull/183#discussion_r3190955872
##########
src/main/scala/org/apache/daffodil/DaffodilPlugin.scala:
##########
@@ -63,6 +70,18 @@ object DaffodilPlugin extends AutoPlugin {
val daffodilTdmlUsesPackageBin = settingKey[Boolean](
"Whether or not TDML files use the saved parsers created by
daffodilPackageBin"
)
+ val flattenTarget = settingKey[File](
+ "File to write the flattened schemas package to"
+ )
+ val flattenSchemas = taskKey[File](
+ "flatten the directory structure of all schemas and schema dependencies
to a single common directory and update 'schemaLocation' paths to match"
+ )
+ val flattenExcludes = settingKey[Seq[Glob]](
+ "Globs of paths to exclude from schema flattening"
+ )
+ val flattenIncludes = settingKey[Seq[Glob]](
+ "Globs of paths to include for schema flattening, even if the path is
listed in flattenExcludes"
+ )
Review Comment:
I kind of think we can just get rid of the excludeFilter at this point since
the code is only including files that are depended on by the current project's
files. I can still see some files needing to be included by hand even if they
aren't directly being depended on, such as multiple different configuration
files or something.
--
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]