update build script
This commit is contained in:
2
build.py
2
build.py
@@ -5,10 +5,12 @@ with open(".version", "r") as version_file:
|
|||||||
version = version_file.read().strip()
|
version = version_file.read().strip()
|
||||||
|
|
||||||
print("Building the project...")
|
print("Building the project...")
|
||||||
|
print("Cleaning build dir...")
|
||||||
# clear dist directory
|
# clear dist directory
|
||||||
if os.path.exists("dist"):
|
if os.path.exists("dist"):
|
||||||
shutil.rmtree("dist")
|
shutil.rmtree("dist")
|
||||||
os.makedirs("dist")
|
os.makedirs("dist")
|
||||||
|
print("Build directory cleaned.")
|
||||||
build = input("Include console in build? (y/n): ").strip().lower()
|
build = input("Include console in build? (y/n): ").strip().lower()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user