version(number) is completely useless

Walter Bright newshound2 at digitalmars.com
Thu Jul 21 04:15:00 UTC 2022


On 7/19/2022 7:44 PM, Steven Schveighoffer wrote:
> One place where I do 
> miss it is communicating something like git version information to the compiler. 
> The only way to do this is to pre-build a module for it.

echo "enum V = `git version`;" > version.d

or something like that. (I didn't test it!)


More information about the Digitalmars-d mailing list