update build script

This commit is contained in:
2025-07-03 10:37:49 +02:00
parent 2e3845b568
commit 5951081efa

View File

@@ -5,10 +5,12 @@ with open(".version", "r") as version_file:
version = version_file.read().strip()
print("Building the project...")
print("Cleaning build dir...")
# clear dist directory
if os.path.exists("dist"):
shutil.rmtree("dist")
os.makedirs("dist")
print("Build directory cleaned.")
build = input("Include console in build? (y/n): ").strip().lower()