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
2024-04-23 11:30:22 +00:00
CONTRACTS := GLDToken Test
2024-04-23 11:30:22 +00:00
contracts: $(foreach C,$(CONTRACTS), $(CONTRACTS_OUTPUT_DIR)/$C.bin $(CONTRACTS_OUTPUT_DIR)/$C.abi)
.PHONY: contracts
test: contracts
2024-04-23 11:30:22 +00:00
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