jadams-tresys commented on code in PR #183:
URL: https://github.com/apache/daffodil-sbt/pull/183#discussion_r3190965879
##########
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:
Actually, in the use case I was discussing of multiple config files, those
would all be in the current projects files anyways, so it would automatically
be included. Maybe we don't need to include/exclude anything anymore?
--
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]