Howdy, I’m wanting to include the version of my package in a command line app I wrote and a quick search on github shows there’s a Dune_project.version. I asked GPT about this and it told me to add (version X.X.X) to my dune-project file, then be sure to have (public_name <NAME>) in my lib/bin dune files. I’ve done this but I still get an unbound module error. What is the canonical way of getting package version information into bin/lib so it can be accessed?
12 posts - 4 participants