mirror of
https://github.com/Radiquum/YAMPD.git
synced 2025-05-20 15:49:34 +05:00
add todo
This commit is contained in:
parent
5581e2905e
commit
5be021789b
2 changed files with 6 additions and 0 deletions
3
build.py
3
build.py
|
@ -23,6 +23,9 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
os.makedirs(OUT_DIR)
|
os.makedirs(OUT_DIR)
|
||||||
|
|
||||||
|
# TODO: handle multiple package managers line npm(node), deno, yarn
|
||||||
|
# TODO?: install node deps automatically
|
||||||
|
|
||||||
if not args.no_rebuild:
|
if not args.no_rebuild:
|
||||||
build = subprocess.call(["bun", "run", "build"], cwd="./gui", shell=True)
|
build = subprocess.call(["bun", "run", "build"], cwd="./gui", shell=True)
|
||||||
if build != 0:
|
if build != 0:
|
||||||
|
|
3
dev.py
3
dev.py
|
@ -7,6 +7,9 @@ if __name__ == "__main__":
|
||||||
environment = os.environ.copy()
|
environment = os.environ.copy()
|
||||||
environment["is_dev"] = "True"
|
environment["is_dev"] = "True"
|
||||||
|
|
||||||
|
# TODO: handle multiple package managers line npm(node), deno, yarn
|
||||||
|
# TODO?: install node deps automatically
|
||||||
|
|
||||||
gui_proc = subprocess.Popen(["bun", "run", "dev"], cwd="./gui", env=environment, shell = True)
|
gui_proc = subprocess.Popen(["bun", "run", "dev"], cwd="./gui", env=environment, shell = True)
|
||||||
app_proc = subprocess.Popen(["python", "main.py"], cwd="./src", env=environment, shell = True)
|
app_proc = subprocess.Popen(["python", "main.py"], cwd="./src", env=environment, shell = True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue