B-Lang-org/bsc

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

Aberta

#12 aberto em 5 de fev. de 2020

 (1 comentário) (0 reação) (0 responsável)Haskell (178 forks)batch import
buildgood first issue

Métricas do repositório

Stars
 (1.108 estrelas)
Métricas de merge de PR
 (Mesclagem média 17d 1h) (18 fundiu PRs em 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.

Guia do colaborador