Open rogpeppe opened 5 months ago
+1 from me, I'd also find this useful. My use case is that I have a big repository that contains an OpenAPI YAML spec along with a bunch of other things. I'm trying to publish a cue module for this YAML spec, but I only want my generated cue file to be included and nothing else.
Anyway, while this would be nice to have, I can work around this for now.
@felixge - thanks for the input. Yours sounds more like an explicit include list situation?
@felixge - thanks for the input. Yours sounds more like an explicit include list situation?
... or perhaps a case where exactly the contents of the directory that are relevant for CUE evaluation are included but nothing else?
As described in #2992 by @ptr1120, sometimes we might want a way to exclude arbitrary files from a CUE module.
To quote that comment:
This issue tracks that feature request.