From 26697d0b89bc6d55a1b03d7135fe3aad296276ee Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Fri, 9 Jun 2023 10:24:38 -0400 Subject: [PATCH] Create build artifacts, and ignore them. --- .gitignore | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index c04a871..f2cfb2a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/* package*.json +bin/* diff --git a/Makefile b/Makefile index 0b7952f..ed76378 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ BINARY_NAME=obp build-all: - GOOS=darwin GOARCH=amd64 go build -o bin/${BINARY_NAME}-darwin - GOOS=linux GOARCH=amd64 go build -o bin/${BINARY_NAME}-linux - GOOS=windows GOARCH=amd64 go build -o bin/${BINARY_NAME}-windows.exe + 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 clean