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 (178 forks)batch import
buildgood first issue

Repository metrics

Stars
 (1,108 stars)
PR merge metrics
 (Avg merge 17d 1h) (18 merged PRs in 30d)

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