Skip to content

Commit

Permalink
Overwrite existing files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Mar 2, 2022
1 parent b42f716 commit f1293f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maintain.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def release(version, maxim_path):
shutil.copytree(i, out_dir, dirs_exist_ok=True)

print("Copying Inect & New_Project folders")
shutil.copytree(Path("MaximSDK/Inject"), r_dir.joinpath("Inject"))
shutil.copytree(Path("MaximSDK/New_Project"), r_dir.joinpath("New_Project"))
shutil.copytree(Path("MaximSDK/Inject"), r_dir.joinpath("Inject"), dirs_exist_ok=True)
shutil.copytree(Path("MaximSDK/New_Project"), r_dir.joinpath("New_Project"), dirs_exist_ok=True)

print("Copying markdown files")
shutil.copy("readme.md", r_dir)
Expand Down

0 comments on commit f1293f6

Please sign in to comment.