Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
trezorg committed May 13, 2024
1 parent b2a8e93 commit 12d4e84
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,13 @@ $(GOBIN):
work: $(GOBIN)

build:
GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags $(LDFLAGS) -o build/lingualeo-$(GOOS)-$(GOARCH) $(CMD_PACKAGE)
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -ldflags $(LDFLAGS) -o build/lingualeo-$(GOOS)-$(GOARCH) $(CMD_PACKAGE)

cache:
go clean --cache

install: clean lint test
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go install \
-ldflags $(LDFLAGS) \
$(CMD_PACKAGE)
install:
CGO_ENABLED=0 GOOS=$(GOOS) GOARCH=$(GOARCH) go install -ldflags $(LDFLAGS) $(CMD_PACKAGE)

test: unit

Expand Down

0 comments on commit 12d4e84

Please sign in to comment.