Skip to content

Commit

Permalink
Fix go make
Browse files Browse the repository at this point in the history
  • Loading branch information
mpkorstanje committed Oct 18, 2022
1 parent c1292a0 commit 058beb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ OS := $(shell go env GOOS)
ARCH := $(shell go env GOARCH)
EXE := dist/$(EXE_BASE_NAME)-$(OS)-$(ARCH)

ifndef NO_CROSS_COMPILE
EXES = $(patsubst %,dist/$(EXE_BASE_NAME)-%,$(PLATFORMS))
else
ifndef CROSS_COMPILE
EXES = $(EXE)
else
EXES = $(patsubst %,dist/$(EXE_BASE_NAME)-%,$(PLATFORMS))
endif

GO_REPLACEMENTS := $(shell sed -n "/^\s*github.com\/cucumber\/common/p" go.mod | perl -wpe 's/\s*(github.com\/cucumber\/common\/(.*)\/go\/v\d+).*/q{replace } . $$1 . q{ => ..\/..\/} . $$2 . q{\/go}/eg')
Expand Down

0 comments on commit 058beb7

Please sign in to comment.