mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-28 03:29:51 +00:00
15 lines
354 B
Python
15 lines
354 B
Python
# verify_manifest.py
|
|
|
|
import os, sys
|
|
|
|
with open("manifest.txt") as f:
|
|
expected = [l.strip() for l in f if l.strip() and not l.startswith("#")]
|
|
|
|
missing = [p for p in expected if not os.path.exists(p)]
|
|
if missing:
|
|
print("Missing files:")
|
|
for p in missing:
|
|
print(" ", p)
|
|
sys.exit(1)
|
|
|
|
print("All files are present.")
|