From 5bd5cf50c84182bc15be922db9e4197d9f19c5fc Mon Sep 17 00:00:00 2001 From: Andrea Settimi Date: Thu, 19 Sep 2024 18:41:46 +0200 Subject: [PATCH] CAP: yakerize ci and publishing working --- invokes/yakerize.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/invokes/yakerize.py b/invokes/yakerize.py index 5481f3c0..455226a8 100644 --- a/invokes/yakerize.py +++ b/invokes/yakerize.py @@ -53,21 +53,17 @@ def main( if not os.path.isfile(yak_exe_path): print(f"Yak.exe not found at {yak_exe_path}.") return False - path_current : str = os.getcwd() os.chdir(build_dir) os.system("cd") - try: - os.system(f"{yak_exe_path} build") + os.system(f"{yak_exe_path} build --platform win") except Exception as e: print(f"Failed to build the yak package: {e}") return False - if not any([f.endswith(".yak") for f in os.listdir(build_dir)]): print("No .yak file was created in the build directory.") return False - os.chdir(path_current) return True