-
Notifications
You must be signed in to change notification settings - Fork 0
/
runall.py
29 lines (24 loc) · 999 Bytes
/
runall.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import subprocess
translationLang = "et_EE"
useDownloader = True
usePackager = False
extraSteps = True
if useDownloader:
print("Executing the downloader script...")
subprocess.call(["python", "downloader.py", translationLang])
print("Download script completed.\n")
print("Now executing the mapper script...")
subprocess.call(["python", "mapper.py"])
print("Mapper script completed.")
if extraSteps:
print("\nNow executing the spawn egg adding script...")
subprocess.call(["python", "spawn-egg-adder.py"])
print("Spawn egg adding script completed.\n\nNow executing the extra mapping cleanup...")
subprocess.call(["python", "clean-extra-mappings.py"])
print("\nExtra mapping cleanup completed.")
print("Now executing the porting script...")
subprocess.call(["python", "porter.py", translationLang])
print("Porting script completed.")
if usePackager:
print("\nNow packaging files to a mcpack...")
subprocess.call(["python", "packager.py", translationLang])