B-Lang-org/bsc

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

Open

#12 opened on Feb 5, 2020

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Haskell (1,108 stars) (178 forks)batch import
buildgood first issue

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.

Contributor guide