Files
Investidor-V2/outputs/investmoz-parques-L1-QA-20261016/refreeze.py
T
nala cef6e201c7
tests / ci (push) Canceled after 0s
versao nrgocios 2
2026-10-16 20:11:05 +02:00

9 lines
579 B
Python

from pathlib import Path
import shutil
out=Path(__file__).resolve().parent;private=Path('C:/Users/macbook/.config/investmoz/parques-L1-QA-20261016')
for name in ['candidate-sources','candidate-build','compatibility-build']:
a=(private/name).resolve();b=(private/(name+'-initial')).resolve();assert a.is_relative_to(private.resolve())and b.is_relative_to(private.resolve())and not b.exists();a.rename(b)
hist=out/'historico';hist.mkdir(exist_ok=True)
shutil.copy2(out/'MANIFESTO-CANDIDATA.json',hist/'MANIFESTO-CANDIDATA-INICIAL.json')
exec((out/'freeze.py').read_text('utf-8'))