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.

貢獻者指南