Roy Crihfield
a5a2ec2a5e
All checks were successful
Test / Run unit tests (push) Successful in 5m34s
Reviewed-on: #7
29 lines
822 B
Makefile
29 lines
822 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
|
|
BUILD_DIR := ./build
|
|
|
|
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) $(BUILD_DIR)
|
|
|
|
compare-plugeth: dumpdiff.geth dumpdiff.plugeth
|
|
./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth
|
|
|
|
compare-plugeth-parallel: dumpdiff.geth dumpdiff.plugeth-parallel
|
|
./scripts/compare-diffs.sh -d $(BUILD_DIR)/ geth plugeth-parallel
|
|
|
|
test: compare-plugeth compare-plugeth-parallel
|
|
|
|
all: $(ALL)
|
|
.PHONY: all
|