Roy Crihfield
9f967abfb9
refactor packages, flags, subscriptions also DRY up builder tests use mockgen
14 lines
332 B
Makefile
14 lines
332 B
Makefile
MOCKGEN ?= mockgen
|
|
MOCKS_DIR := $(CURDIR)/test_helpers/mocks
|
|
|
|
mocks: $(MOCKS_DIR)/gen_backend.go
|
|
.PHONY: mocks
|
|
|
|
$(MOCKS_DIR)/gen_backend.go:
|
|
$(MOCKGEN) --package mocks --destination $@ \
|
|
github.com/openrelayxyz/plugeth-utils/core Backend,Downloader
|
|
|
|
docker: mocks
|
|
docker build . -t "cerc/plugeth-statediff:local"
|
|
.PHONY: docker
|