build(schema): include generated images in document zip
@@ -66,6 +66,9 @@ def _asciidoc_impl(ctx):
"exit 1",
"fi",
+ # Move any generated images to the out directory.
+ "find -name '*.svg' -maxdepth 1 -exec mv '{}' out/ \;",
+
# Package up the outputs into the zip file.
"(cd out; zip -9qr ../%s *)" % ctx.outputs.out.path,
]),
