Open Anton-4 opened 3 weeks ago
If you build Roc from source and execute roc version you'll get the default value "built-from-source". It would be nice to print some useful info:
roc version
For those without git changes we can print the last commit hash and date of the commit:
built from commit faeea52, with commit timestamp Fri Aug 23 09:02:06 UTC 2024
And with changes:
built from commit faeea52 with additional changes. Commit timestamp: Fri Aug 23 09:02:06 UTC 2024
I think I'd like to tackle this issue if nobody else has already started :)
If you build Roc from source and execute
roc version
you'll get the default value "built-from-source". It would be nice to print some useful info:For those without git changes we can print the last commit hash and date of the commit:
built from commit faeea52, with commit timestamp Fri Aug 23 09:02:06 UTC 2024
And with changes:
built from commit faeea52 with additional changes. Commit timestamp: Fri Aug 23 09:02:06 UTC 2024