B-Lang-org/bsc

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

オープン

#12 opened on 2020/02/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Haskell (178 件のフォーク)batch import
buildgood first issue

Repository metrics

Stars
 (1,108 個のスター)
PR merge metrics
 (平均マージ 17d 1h) (30d で 18 merged PRs)

説明

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.

コントリビューターガイド