ipld-eth-db-validator/Makefile

15 lines
369 B
Makefile
Raw Normal View History

CONTRACTS_DIR := ./test/contract/contracts
CONTRACTS_OUTPUT_DIR := ./internal/testdata/build
CONTRACTS := GLDToken Test
contracts: $(foreach C,$(CONTRACTS), $(CONTRACTS_OUTPUT_DIR)/$C.bin $(CONTRACTS_OUTPUT_DIR)/$C.abi)
.PHONY: contracts
test: contracts
go test -p 1 -v ./pkg/...
2022-05-06 11:21:11 +00:00
.PHONY: test
clean:
rm $(CONTRACTS_OUTPUT_DIR)/*.bin $(CONTRACTS_OUTPUT_DIR)/*.abi