eth2.0-specs/tests/generators/random/Makefile

11 lines
599 B
Makefile
Raw Normal View History

all:
2021-08-24 23:28:13 +00:00
if ! test -d venv; then python3 -m venv venv; fi;
. ./venv/bin/activate
pip3 install -r requirements.txt
rm -f ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
rm -f ../../core/pyspec/eth2spec/test/altair/random/test_random.py
2022-01-28 03:08:59 +00:00
rm -f ../../core/pyspec/eth2spec/test/bellatrix/random/test_random.py
python3 generate.py phase0 > ../../core/pyspec/eth2spec/test/phase0/random/test_random.py
python3 generate.py altair > ../../core/pyspec/eth2spec/test/altair/random/test_random.py
2022-01-28 03:08:59 +00:00
python3 generate.py bellatrix > ../../core/pyspec/eth2spec/test/bellatrix/random/test_random.py