fix(platform): govern geospatial analysis and raster handoffs
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
missing=[d for d in ["contracts/api","contracts/database","contracts/events"] if not (ROOT/d).exists()]
|
||||
if missing: raise SystemExit("Missing contract directories: "+", ".join(missing))
|
||||
missing = [
|
||||
d
|
||||
for d in ["contracts/api", "contracts/database", "contracts/events"]
|
||||
if not (ROOT / d).exists()
|
||||
]
|
||||
if missing:
|
||||
raise SystemExit("Missing contract directories: " + ", ".join(missing))
|
||||
print("Contracts smoke OK")
|
||||
|
||||
Reference in New Issue
Block a user