B-Lang-org/bsc

update-build-version.sh: Allow setting git rev, instead of just NOGIT=1

Aperta

#12 aperta il 5 feb 2020

 (1 commento) (0 reazioni) (0 assegnatari)Haskell (178 fork)batch import
buildgood first issue

Metriche repository

Star
 (1108 stelle)
Metriche merge PR
 (Merge medio 17g 1h) (18 PR mergiate in 30 g)

Descrizione

My build environment doesn't provide neither the git executable nor the .git folder, so I can only set NOGIT=1, but miss all version information, as this falls back to a bunch of zeroes.

It'd be much more convenient if the version string could be passed in via make flags.

Guida contributor