We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4389eec commit 47a5a39Copy full SHA for 47a5a39
Makefile
@@ -5,15 +5,15 @@ VERSION=$(LATEST_TAG:v%=%)
5
endif
6
EXECUTABLE=wurl
7
8
-GO?=vgo
+GO?=go
9
LDFLAGS+=-X main.Version=$(VERSION)
10
11
.PHONY: build install uninstall github-release clean
12
.DEFAULT_GOAL := build
13
14
build:
15
@echo "Building for current OS/architecture"
16
- $(GO) build -o ./$(EXECUTABLE) -v -ldflags="$(LDFLAGS)"
+ $(GO) build -mod vendor -o ./$(EXECUTABLE) -v -ldflags="$(LDFLAGS)"
17
18
PREFIX ?= /usr/local
19
DESTDIR=
0 commit comments