cic-chain-events/Makefile

17 lines
363 B
Makefile
Raw Normal View History

SHELL := /bin/bash
BIN := cic-chain-events
.PHONY: build
build:
CGO_ENABLED=1 go build -v -ldflags="-s -w" -o ${BIN} cmd/*.go
run:
CGO_ENABLED=1 go run -ldflags="-s -w" cmd/*.go
mod:
go mod tidy
go mod verify
2023-01-14 10:20:16 +01:00
test-pkg:
TEST_GRAPHQL_ENDPOINT=https://rpc.alfajores.celo.grassecon.net/graphql go test -v -covermode atomic -coverprofile=covprofile ./pkg/...