-
Notifications
You must be signed in to change notification settings - Fork 121
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
Print git hash in version output and add -version #204
Comments
Currently |
Ah ok, sounds like I just need to read how to use |
FWIW I don't think the git hash in the output is quite right - you can Also I'm going to reopen this because I keep trying to run |
I hadn't noticed this before, but it seems dune doesn't pick up that things have changed after a |
Or it might be that the rule that generates the file containing the commit needs to run every build |
Yes, the problem is that after
doesn't fire I think everything else should be fine, just the version info will be incorrect until a |
Hi, I've been recompiling a Sail a bit and finding Opam very confusing. It would be really helpful if
sail
had asail -version
option that printed the version and git hash so I know if Opam has actually built the version I want. Also add-version
as an alias to-v
because I only just realised that there even was a version option.(Also make sure it doesn't require the source code to be a
git
repo - I've seen projects do that before and it's quite annoying because then you can't build from source tarballs.)The text was updated successfully, but these errors were encountered: