auto generate openapi
This commit is contained in:
parent
018f9c2e3b
commit
3a9613979a
|
|
@ -78,6 +78,12 @@ def get_version() -> str:
|
||||||
elif os.path.isfile("../../cmake-build-release/version.h"):
|
elif os.path.isfile("../../cmake-build-release/version.h"):
|
||||||
print("Found version.h in cmake-build-release")
|
print("Found version.h in cmake-build-release")
|
||||||
version_h_path = "../../cmake-build-release/version.h"
|
version_h_path = "../../cmake-build-release/version.h"
|
||||||
|
elif os.path.isfile("../../build/version.h"):
|
||||||
|
print("Found version.h in build")
|
||||||
|
version_h_path = "../../build/version.h"
|
||||||
|
elif os.path.isfile("../../linux_build/version.h"):
|
||||||
|
print("Found version.h in linux_build")
|
||||||
|
version_h_path = "../../linux_build/version.h"
|
||||||
else:
|
else:
|
||||||
print("version.h not found")
|
print("version.h not found")
|
||||||
print("Please compile first")
|
print("Please compile first")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue