wcm-io-frontend / aem-clientlib-generator

Creates configuration files for AEM ClientLibs and synchronizes assets.
Apache License 2.0
62 stars 32 forks source link

Support overriding output directory #12

Closed sovanyio closed 5 years ago

sovanyio commented 5 years ago

Currently the output is made as a subfolder in the working directory named after the client library name which makes for odd folder organization if the working directory was already organized as a client library ;). This additionally has the effect of enforcing an opinionated path to the resulting client library, which should be able to be overridden.

I think it makes more sense to enable an output directory per-library, which for the purposes of the above usage would result in only generating the .content.xml and {asset}.txt files in the working directory, along with supporting the existing 'copy to output' in another directory such as dist.

stefanseifert commented 5 years ago

i think i makes sense to support this by adding a new configuration parameter (but keeping the current behavior as default behavior in place).

can you come up with a PR for this?

stefanseifert commented 5 years ago

thanks for the PR, we'll have a look into it!