Create build artifacts, and ignore them.

main
Nick Dumas 2 years ago
parent 75f625a93e
commit 26697d0b89

1
.gitignore vendored

@ -1,2 +1,3 @@
node_modules/* node_modules/*
package*.json package*.json
bin/*

@ -1,9 +1,9 @@
BINARY_NAME=obp BINARY_NAME=obp
build-all: build-all:
GOOS=darwin GOARCH=amd64 go build -o bin/${BINARY_NAME}-darwin 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 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 GOOS=windows GOARCH=amd64 go build -o bin/${BINARY_NAME}-windows.exe cmd/obp/*.go
clean-all: clean-all:
go clean go clean

Loading…
Cancel
Save