Initial set of tools for editing/running projects
This commit is contained in:
commit
e239215895
7 files changed
+126
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import sys
|
||||
from . import godot, gzdoom
|
||||
|
||||
def main():
|
||||
project = godot.find_project(".") or gzdoom.find_project(".")
|
||||
if not project:
|
||||
raise Exception("could not find valid project")
|
||||
|
||||
command = sys.argv[1]
|
||||
if command == "run":
|
||||
project.run()
|
||||
elif command == "edit":
|
||||
project.edit()
|
||||
Reference in new issue
Block a user