Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
import json,hashlib
|
||||
R=Path('/home/jakub/devel/escapistsrereintroduced');P=Path('/tmp/erri-patrol-start-1659')
|
||||
sha=lambda p:hashlib.sha256(p.read_bytes()).hexdigest()
|
||||
m=json.loads((P/'source-manifest.json').read_text())
|
||||
for n,v in m['files'].items():
|
||||
assert sha(R/n)==v['baseline_sha256'],n
|
||||
assert sha(P/n)==v['proposed_sha256'],n
|
||||
for n in m['files']:(R/n).write_bytes((P/n).read_bytes())
|
||||
for n,v in m['files'].items():assert sha(R/n)==v['proposed_sha256'],n
|
||||
print('Integrated exactly two reviewed fixture/regression files.')
|
||||
Reference in New Issue
Block a user