B-Lang-org/bsc
update-build-version.sh: Allow setting git rev, instead of just NOGIT=1
開放
#12 建立於 2020年2月5日
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.