Join Slack
Powered by
I want to embed some version metadata into a .pex ...
# general
c
cool-yacht-37128
10/04/2022, 3:54 PM
I want to embed some version metadata into a .pex in such a way that it can be accessed from within code packaged by the pex. Is there a recommended way to do that?
f
fast-nail-55400
10/04/2022, 4:12 PM
Resources are probably the way to do that:
https://www.pantsbuild.org/docs/assets#resources
👍 1
h
happy-kitchen-89482
10/04/2022, 5:45 PM
And here is some info on generating such metadata from git state:
https://www.pantsbuild.org/docs/generating-version-tags
❤️ 1
3
Views
Open in Slack
Previous
Next