Skip to content

Commit

Permalink
fix makefile to read variables from environment and overrides (#104)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeev B <[email protected]>
  • Loading branch information
jeevb authored Apr 12, 2023
1 parent 8f0eb3c commit 9f7de46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datacatalog/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ compile:
go build -o datacatalog ./cmd/main.go && mv ./datacatalog ./bin

.PHONY: linux_compile
linux_compile: export CGO_ENABLED = 0
linux_compile: export GOOS = linux
linux_compile: export CGO_ENABLED ?= 0
linux_compile: export GOOS ?= linux
linux_compile:
go build -o /artifacts/datacatalog ./cmd/

Expand Down

0 comments on commit 9f7de46

Please sign in to comment.