Skip to content

Commit 47a5a39

Browse files
author
Vladimir Stolyarov
committed
Change vgo to go
1 parent 4389eec commit 47a5a39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ VERSION=$(LATEST_TAG:v%=%)
55
endif
66
EXECUTABLE=wurl
77

8-
GO?=vgo
8+
GO?=go
99
LDFLAGS+=-X main.Version=$(VERSION)
1010

1111
.PHONY: build install uninstall github-release clean
1212
.DEFAULT_GOAL := build
1313

1414
build:
1515
@echo "Building for current OS/architecture"
16-
$(GO) build -o ./$(EXECUTABLE) -v -ldflags="$(LDFLAGS)"
16+
$(GO) build -mod vendor -o ./$(EXECUTABLE) -v -ldflags="$(LDFLAGS)"
1717

1818
PREFIX ?= /usr/local
1919
DESTDIR=

0 commit comments

Comments
 (0)