https://pantsbuild.org/ logo
h

high-yak-85899

02/04/2022, 7:30 PM
I have some existing code that reads in some yamls files and compiles some python modules and places them in the repo. I'm wondering if there's any way in a Pants paradigm to keep this kind of functionality. It sounds like plugin territory since it's exactly like compiling proto files into
pb2.py
modules. I think I already know the answer, so this is mostly just 🎣 .
h

hundreds-father-404

02/04/2022, 7:40 PM
Hi 🙂 yes, this would best be achieved via a codegen plugin: https://www.pantsbuild.org/docs/plugins-codegen
🆒 1
3 Views