2022-11-07 20:21:50 +00:00
|
|
|
import subprocess
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
|
|
|
def ex_dsl():
|
|
|
|
path = Path.cwd() / "examples" / "dsl" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
2023-06-23 18:18:01 +01:00
|
|
|
def ex_events():
|
|
|
|
path = Path.cwd() / "examples" / "events" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
2023-06-24 23:30:35 +01:00
|
|
|
def ex_gui():
|
|
|
|
path = Path.cwd() / "examples" / "gui" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
2023-06-23 18:18:01 +01:00
|
|
|
def ex_levels():
|
|
|
|
path = Path.cwd() / "examples" / "levels" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
2022-11-07 20:21:50 +00:00
|
|
|
def ex_midi():
|
|
|
|
path = Path.cwd() / "examples" / "midi" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
|
|
|
def ex_obs():
|
|
|
|
path = Path.cwd() / "examples" / "obs" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
|
|
|
|
|
|
|
|
|
|
|
def ex_observer():
|
|
|
|
path = Path.cwd() / "examples" / "observer" / "."
|
|
|
|
subprocess.run(["py", str(path)])
|
2023-06-19 20:03:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
def test():
|
2023-06-23 18:18:01 +01:00
|
|
|
subprocess.run(["tox"])
|