SHELL := /bin/bash .PHONY: fmt vet test run build fmt: gofmt -w $(shell go list -f '{{.Dir}}' ./...) vet: go vet ./... test: go test ./... build: go build -o bin/netts-energy ./cmd/server run: go run ./cmd/server -config config.yaml