Skip to content

Commit

Permalink
fix(make): static on all OS (#262)
Browse files Browse the repository at this point in the history
Included a GOOS=linux, which makes no sense
  • Loading branch information
sh0rez authored Apr 19, 2020
1 parent 0d5e7c2 commit 38573ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dev:

LDFLAGS := '-s -w -extldflags "-static" -X main.Version=${VERSION}'
static:
CGO_ENABLED=0 GOOS=linux go build -ldflags=${LDFLAGS} ./cmd/tk
CGO_ENABLED=0 go build -ldflags=${LDFLAGS} ./cmd/tk

install:
CGO_ENABLED=0 go install -ldflags=${LDFLAGS} ./cmd/tk
Expand Down

0 comments on commit 38573ae

Please sign in to comment.