This commit is contained in:
Roy Crihfield 2022-01-16 16:09:24 -06:00
parent 159f93902e
commit 2640b5aeb2

View File

@ -3,13 +3,8 @@ mockgen_cmd=mockgen
.PHONY: mocks
# mocks: mocks/ethdb/database.go mocks/state/database.go mocks/snapshot/publisher.go
mocks: mocks/snapshot/publisher.go
# mocks/ethdb/database.go:
# $(mockgen_cmd) -package ethdb -destination $@ github.com/ethereum/go-ethereum/ethdb Database
# mocks/state/database.go:
# $(mockgen_cmd) -package state -destination $@ github.com/ethereum/go-ethereum/core/state Database
mocks/snapshot/publisher.go: pkg/types/publisher.go
$(mockgen_cmd) -package snapshot_mock -destination $@ -source $< Publisher