Add build scripts and API calls for WebUI
This commit is contained in:
parent
d46b07399f
commit
59c9bf4477
11 changed files with 141 additions and 35 deletions
8
scripts/git_rev.py
Normal file
8
scripts/git_rev.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
import subprocess
|
||||
|
||||
revision = (
|
||||
subprocess.check_output(["git", "rev-parse", "HEAD"])
|
||||
.strip()
|
||||
.decode("utf-8")
|
||||
)
|
||||
print("'-DGIT_REV=\"%s\"'" % revision)
|
Loading…
Add table
Add a link
Reference in a new issue