[makefile] add GO111MODULE env variable

Signed-off-by: Leo Chen <leo@harmony.one>
pull/15/head
Leo Chen 5 years ago committed by Edgar Aroutiounian
parent 42c0bd42dd
commit dd115ba963
  1. 2
      Makefile

@ -8,6 +8,8 @@ ldflags := -X main.version=v${version} -X main.commit=${commit}
ldflags += -X main.builtAt=${built_at} -X main.builtBy=${built_by}
cli := hmy_cli
GO111MODULE=on
all:
go build -o $(cli) -ldflags="$(ldflags)" client/main.go

Loading…
Cancel
Save