Commit 63f2ef34 authored by Ivan Vandot's avatar Ivan Vandot Committed by GitHub

install beekeeper using make (#1560)

parent c1cabfa6
...@@ -3,6 +3,7 @@ GOLANGCI_LINT ?= $$($(GO) env GOPATH)/bin/golangci-lint ...@@ -3,6 +3,7 @@ GOLANGCI_LINT ?= $$($(GO) env GOPATH)/bin/golangci-lint
GOLANGCI_LINT_VERSION ?= v1.30.0 GOLANGCI_LINT_VERSION ?= v1.30.0
GOGOPROTOBUF ?= protoc-gen-gogofaster GOGOPROTOBUF ?= protoc-gen-gogofaster
GOGOPROTOBUF_VERSION ?= v1.3.1 GOGOPROTOBUF_VERSION ?= v1.3.1
BEEKEEPER ?= $$($(GO) env GOPATH)/bin/beekeeper
COMMIT ?= "$(shell git describe --long --dirty --always --match "" || true)" COMMIT ?= "$(shell git describe --long --dirty --always --match "" || true)"
LDFLAGS ?= -s -w -X github.com/ethersphere/bee.commit="$(COMMIT)" LDFLAGS ?= -s -w -X github.com/ethersphere/bee.commit="$(COMMIT)"
...@@ -25,6 +26,10 @@ binaries: binary ...@@ -25,6 +26,10 @@ binaries: binary
dist: dist:
mkdir $@ mkdir $@
.PHONY: beekeeper
beekeeper:
test -f $(BEEKEEPER) || curl -sSfL https://raw.githubusercontent.com/ethersphere/beekeeper/master/install.sh | BEEKEEPER_INSTALL_DIR=$$($(GO) env GOPATH)/bin USE_SUDO=false bash
.PHONY: lint .PHONY: lint
lint: linter lint: linter
$(GOLANGCI_LINT) run $(GOLANGCI_LINT) run
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment