From 721faf7cfa53a8039a8953e953349419dc15a4c8 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 9 Jun 2023 11:21:56 -0400 Subject: [PATCH] Debug time --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 91bebbc..4988a8b 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,24 @@ BINARY_NAME=obp build-all: + go version GOOS=darwin GOARCH=amd64 go build -o bin/${BINARY_NAME}-darwin cmd/obp/*.go GOOS=linux GOARCH=amd64 go build -o bin/${BINARY_NAME}-linux cmd/obp/*.go GOOS=windows GOARCH=amd64 go build -o bin/${BINARY_NAME}-windows.exe cmd/obp/*.go clean-all: + go version go clean rm bin/${BINARY_NAME}-darwin rm bin/${BINARY_NAME}-linux rm bin/${BINARY_NAME}-windows.exe test: + go version go mod tidy go test ./... test_coverage: + go version go mod tidy go test ./... -coverprofile=coverage.out