eth-statediff-compliance/Makefile
Thomas E Lackey aa3d6d7ebe
All checks were successful
Test / Run unit tests (pull_request) Successful in 12m27s
Add 'test' target.
2023-10-11 21:39:15 -05:00

28 lines
777 B
Makefile

# Note: Top-level package code is shared, but commands are in separate modules to prevent
# go-ethereum import conflicts
ALL := dumpdiff.geth dumpdiff.plugeth dumpdiff.plugeth-parallel
dumpdiff.geth: dumpdiff-geth/*
cd dumpdiff-geth && go build -tags geth -o ../$@ .
dumpdiff.plugeth:
cd dumpdiff-plugeth && go build -tags plugeth -o ../$@ .
dumpdiff.plugeth-parallel:
cd dumpdiff-plugeth-parallel && go build -tags plugeth_parallel -o ../$@ .
clean:
rm -rf $(ALL) _var
compare-plugeth: dumpdiff.geth dumpdiff.plugeth
./scripts/compare-diffs.sh -d _var/ geth plugeth
compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel
./scripts/compare-diffs.sh -d _var/ geth plugeth-parallel
test: compare-plugeth compare-plugeth-parallel
all: $(ALL)
.PHONY: all