Public Access
Add native biome families, desert vegetation, static sky controls and Seamless views
Build and smoke / changes (push) Waiting to run
Build and smoke / changes (push) Waiting to run
This commit is contained in:
1 parent
90e4a98a7a
commit
d199ac253e
92 files changed
+2520
-224
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Run the shared desert placement checks without a server or saved world."""
|
||||
import subprocess
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
if __name__ == "__main__":
|
||||
with tempfile.TemporaryDirectory(prefix="rivencraft-desert108-") as directory:
|
||||
subprocess.run(["javac", "--release", "21", "-d", directory,
|
||||
str(ROOT / "shared/src/main/java/net/dnorberg/rivencraft/shared/DesertVegetation.java"),
|
||||
str(ROOT / "scripts/fixtures/desert108/DesertVegetationChecks.java")], check=True)
|
||||
subprocess.run(["java", "-cp", directory, "DesertVegetationChecks"], check=True)
|
||||
Reference in new issue
Block a user