Removes dist and build folders when done

This commit is contained in:
Manuel Cortez 2018-12-18 03:53:13 -06:00
parent 0a5822e64e
commit 20a01c8c52

View File

@ -8,5 +8,8 @@ def create_archive():
shutil.make_archive("socializer", "zip", "dist") shutil.make_archive("socializer", "zip", "dist")
if os.path.exists("dist"): if os.path.exists("dist"):
shutil.rmtree("dist") shutil.rmtree("dist")
if os.path.exists("build"):
shutil.rmtree("build")
os.chdir("..\\scripts")
create_archive() create_archive()