B-Lang-org/bsc

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

开放

#12 创建于 2020年2月5日

 (1 条评论) (0 个反应) (0 位负责人)Haskell (178 个派生)batch import
buildgood first issue

仓库指标

星标
 (1,108 个星标)
PR 合并指标
 (平均合并 17天 1小时) (30 天内合并 18 个 PR)

描述

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.

贡献者指南