Skip to content

Commit

Permalink
Fix poetry scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Tapeline committed Nov 12, 2024
1 parent 1a54019 commit 1eacaa9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions project_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ def check_all():


def clean_build():
shutil.rmtree("build")
shutil.rmtree("dist")
if os.path.exists("build"):
shutil.rmtree("build")
if os.path.exists("dist"):
shutil.rmtree("dist")
build()


Expand Down

0 comments on commit 1eacaa9

Please sign in to comment.