Skip to content

Commit

Permalink
Fix glitch when adding .exe to windows build artifacts
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed Sep 12, 2022
1 parent 7345ce7 commit c837814
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
#
# Intro

help:
@echo 'Usage:'
@echo ' make help'
@echo ' make cover'
@echo ' make test'
@echo ' make lint'
.PHONY: help

.SECONDARY:
.PHONY: FORCE

Expand Down Expand Up @@ -88,5 +80,5 @@ tools/$(PROTOC_ZIP):
%/bin/protoc$(EXE) %/include %/readme.txt: %/$(PROTOC_ZIP)
cd $* && unzip -q -o -DD $(<F)

$(TOOLS)/%: tools/src/%/go.mod tools/src/%/pin.go
$(TOOLS)/%$(EXE): tools/src/%/go.mod tools/src/%/pin.go
cd $(<D) && GOOS= GOARCH= go build -o $(abspath $@) $$(sed -En 's,^import "(.*)".*,\1,p' pin.go)

0 comments on commit c837814

Please sign in to comment.