auto generate openapi

This commit is contained in:
Alex 2023-11-29 13:53:17 +08:00
parent 018f9c2e3b
commit 3a9613979a
1 changed files with 6 additions and 0 deletions

View File

@ -78,6 +78,12 @@ def get_version() -> str:
elif os.path.isfile("../../cmake-build-release/version.h"):
print("Found version.h in cmake-build-release")
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:
print("version.h not found")
print("Please compile first")