diff --git a/spcd/__init__.py b/spcd/__init__.py index 5114a6a..11db87f 100644 --- a/spcd/__init__.py +++ b/spcd/__init__.py @@ -39,7 +39,7 @@ def clone_project_branch() -> None: project.branch, "--", project.url, - project.root, + str(project.root), ) diff --git a/spcd/cmd.py b/spcd/cmd.py index 9df7ed3..fe00db4 100644 --- a/spcd/cmd.py +++ b/spcd/cmd.py @@ -18,12 +18,10 @@ def spcd_browse_workspace() -> None: def spcd_build_project() -> None: """Perform the actual building process.""" for extension in ["py", "sh"]: - path = Path(project.root) / f"build.{extension}" + path = project.root / f"build.{extension}" if path.exists(): - ps.run(path) + ps.run(str(path)) break - else: - pass def spcd_check_project() -> None: