From 6037911941e822aae3de23e3fea0392a9d931a21 Mon Sep 17 00:00:00 2001 From: Blair Conrad Date: Thu, 24 Oct 2024 21:58:26 -0400 Subject: [PATCH] fix: Use shutil.copytree instead of cp Windows environments may not have cp --- project/scripts/make | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/project/scripts/make b/project/scripts/make index ac43062..66a6603 100755 --- a/project/scripts/make +++ b/project/scripts/make @@ -109,8 +109,7 @@ def clean() -> None: def vscode() -> None: """Configure VSCode to work on this project.""" - Path(".vscode").mkdir(parents=True, exist_ok=True) - shell("cp -v config/vscode/* .vscode") + shutil.copytree("config/vscode", ".vscode", dirs_exist_ok=True) def main() -> int: