2021-11-21 22:19:25 +00:00
|
|
|
def build():
|
2023-05-24 13:57:27 +00:00
|
|
|
from os import system as cmd
|
|
|
|
from editor import edit
|
|
|
|
|
|
|
|
cmd("rm -rf package/dist")
|
|
|
|
cmd("mkdir package/dist")
|
|
|
|
cmd("clear")
|
|
|
|
useEditor = input("Run Version Editor (Y|*)? ").upper()
|
|
|
|
if useEditor == "Y":
|
|
|
|
edit()
|
|
|
|
cmd("clear")
|
|
|
|
print("Run these commands next: \n cd package\n ./upload.sh")
|
|
|
|
cmd("bash")
|