B-Lang-org/bsc

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

Ouverte

#12 ouverte le 5 févr. 2020

 (1 commentaire) (0 réaction) (0 personne assignée)Haskell (178 forks)batch import
buildgood first issue

Métriques du dépôt

Stars
 (1 108 étoiles)
Métriques de merge PR
 (Merge moyen 17j 1h) (18 PRs mergées en 30 j)

Description

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.

Guide contributeur