Skip to content

Commit

Permalink
make: enforce use of gomodules
Browse files Browse the repository at this point in the history
set the GO111MODULE=on environment variable, to ensure building baur with the
Makefile also works inside the GOPATH
  • Loading branch information
fho committed Nov 15, 2018
1 parent d5ba120 commit 0be4ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ LDFLAGS := "-X github.com/simplesurance/baur/version.GitCommit=$(GIT_COMMIT) \
-X github.com/simplesurance/baur/version.Appendix=$(GIT_DIRTY)"
BUILDFLAGS := -mod=vendor
TARFLAGS := --sort=name --mtime='2018-01-01 00:00:00' --owner=0 --group=0 --numeric-owner
export GO111MODULE=on

default: all

Expand Down

0 comments on commit 0be4ed9

Please sign in to comment.