wormhole-explorer/tx-tracker/Makefile

20 lines
458 B
Makefile

SHELL := /bin/bash
## help: print this help message
.PHONY: help
help:
@echo 'Usage:'
@sed -n 's/^##//p' ${MAKEFILE_LIST} | column -t -s ':' | sed -e 's/^/ /'
build:
CGO_ENABLED=0 GOOS=linux go build -o "./bin/tx-tracker" cmd/service/main.go
CGO_ENABLED=0 GOOS=linux go build -o "./bin/backfiller" cmd/backfiller/main.go
CGO_ENABLED=0 GOOS=linux go build -o "./bin/fetchone" cmd/fetchone/main.go
test:
go test -v -cover ./...
.PHONY: build test