-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push version infos during compilation #437
Comments
The pre/post build steps get some variable passed via env. |
Related: #6 |
The downside of an automatically generated module is that this makes replicating the build process without DUB more difficult. But on the other hand, getting programmatic access to the current version of a project is a constant nuisance in my experience (using GIT based hacks or manually maintained version constants), so having a built-in solution would definitely be a very nice to have thing. |
Duplicate of #1438 (well, it precedes it, but 1438 has more conversation). |
Imagine seeing an issue being replied to almost a decade later |
Please don't let this one go stale #2753 |
I'm translating a large library from C++ and it makes use of these constants, defined in the ./configure script:
I can't think of a way on top of my head, but I think these should be set automatically by dub using the version control information from the git repository, probably writing it into an auto-generated module with a specific name.
The text was updated successfully, but these errors were encountered: