diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2019-10-29 16:51:07 +0100 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2019-10-29 16:51:07 +0100 |
| commit | afe18e86a7aa2248c69997ed941bcbe3e6b2a655 (patch) | |
| tree | 7aaef5752ba8ad3465e9638c7adca71e1a103ee3 /Makefile | |
| parent | ef84ca3e82f422118c69a0c562433c185e1dcb9b (diff) | |
| download | gofu-afe18e86a7aa2248c69997ed941bcbe3e6b2a655.tar.gz | |
switch to go.mod
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -5,6 +5,9 @@ APPLETS = i3status rtree prettyprompt all: build/gofu $(addprefix build/,$(APPLETS)) +# NOTE: This repo uses Go modules, and uses a synthetic GOPATH at +# $(CURDIR)/.gopath that is only used for the build cache. $GOPATH/src/ is +# empty. GO = GOPATH=$(CURDIR)/.gopath GOBIN=$(CURDIR)/build go GO_BUILDFLAGS = GO_LDFLAGS = -s -w @@ -48,6 +51,7 @@ build/cover.html: build/cover.out $(GO) tool cover -html $< -o $@ vendor: FORCE - golangvend + $(GO) mod tidy + $(GO) mod vendor .PHONY: FORCE |
