Skip to content

Commit

Permalink
clean makefile (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonicmuroq authored Dec 10, 2020
1 parent 2be7ca9 commit 2eb107c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ grpc:
deps:
env GO111MODULE=on go mod download
env GO111MODULE=on go mod vendor
# fix mock docker client bug, see https://github.com/moby/moby/pull/34383 [docker 17.05.0-ce]
sed -i.bak "143s/\*http.Transport/http.RoundTripper/" ./vendor/github.com/docker/docker/client/client.go

binary:
go build -ldflags "$(GO_LDFLAGS)" -a -tags "netgo osusergo" -installsuffix netgo -o eru-core
CGO_ENABLED=0 go build -ldflags "$(GO_LDFLAGS)" -o eru-core

build: deps binary

Expand Down

0 comments on commit 2eb107c

Please sign in to comment.