mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-09 00:40:29 +00:00
Uncomment the actually useful bits!
This commit is contained in:
parent
4a560c4ad8
commit
1be9a9df22
6
go4it
6
go4it
@ -103,8 +103,8 @@ def gen_runs() -> None:
|
||||
"""
|
||||
Generate .idea run files
|
||||
"""
|
||||
# setup()
|
||||
# subprocess.check_call(["./gradlew", "--no-daemon", "genRuns"])
|
||||
setup()
|
||||
subprocess.check_call(["./gradlew", "--no-daemon", "genIntellijRuns"])
|
||||
|
||||
re = regex.compile(r"(mc-.*)_run(.*)\.xml")
|
||||
for path in pathlib.Path(".idea/runConfigurations").glob("*.xml"):
|
||||
@ -120,7 +120,7 @@ def gen_runs() -> None:
|
||||
print("Cannot find Java for branch")
|
||||
continue
|
||||
|
||||
component = 'testMod' if name == 'TestServer' else 'main'
|
||||
component = 'testMod' if name.startswith('Test') else 'main'
|
||||
xml = ET.parse(path)
|
||||
module = xml.find("./configuration/module")
|
||||
if module is None:
|
||||
|
Loading…
Reference in New Issue
Block a user