Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
whonion committed May 10, 2023
1 parent d84ad0a commit c7c638e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GOCMD=go
GOTEST=$(GOCMD) test
GOVET=$(GOCMD) vet
BINARY_NAME=example
BINARY_NAME=faucet-nibid
VERSION?=0.0.0
SERVICE_PORT?=3000
DOCKER_REGISTRY?= #if set it should finished by /
Expand All @@ -19,8 +19,7 @@ all: help

## Build:
build: ## Build your project and put the output binary in out/bin/
mkdir -p out/bin
GO111MODULE=on $(GOCMD) build -mod vendor -o out/bin/$(BINARY_NAME) .
go build -o out/bin/$(BINARY_NAME) .

clean: ## Remove build related file
rm -fr ./bin
Expand Down

0 comments on commit c7c638e

Please sign in to comment.