kcp-dev / code-generator

Generators for workspace-aware clientsets, informers, and listers
Apache License 2.0
4 stars 11 forks source link

Should create target directory if it doesn't already exist #48

Closed fabianvf closed 2 years ago

fabianvf commented 2 years ago

Currently if you specify an output directory that doesn't exist the generator will fail with the error

Error: error finding the module path for this package "<output dir>"
error running all markers: error finding the module path for this package "<output dir>"

We should instead create the directory if it doesn't exist