fix xcode project

This commit is contained in:
2018-09-16 16:07:42 +02:00
parent bbb0006a1f
commit 0ea64accf3
4 changed files with 48 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ import re, subprocess, sys
branch = check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"]).rstrip().decode("utf-8")
shorthash = check_output(["git", "log", "--pretty=format:%h", "-n 1"]).rstrip().decode("utf-8")
revcount = len(check_output(["git", "log", "--oneline"]).split(b'\n')) - 1
revcount = int(check_output(["git", "rev-list", "--count", "HEAD"]))
tag = check_output(["git", "describe", "--tags", "--abbrev=0"]).rstrip().decode("utf-8")
config = sys.argv[1]