Skip to content

Commit

Permalink
Makefile: drop dep target
Browse files Browse the repository at this point in the history
It's totally obsolete and useless.

Signed-off-by: Roman Khimov <roman@nspcc.ru>
  • Loading branch information
roman-khimov committed Sep 13, 2024
1 parent 387eacd commit 02e0776
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ BINDIR = bin
DIRS = "$(BINDIR)"
BINS = "$(BINDIR)/neofs-rest-gw"

.PHONY: help all dep clean format test cover lint docker/lint
.PHONY: help all clean format test cover lint docker/lint

# Make all binaries
all: generate-server $(BINS)

$(BINS): $(DIRS) dep
$(BINS): $(DIRS)
@echo "⇒ Build $@"
CGO_ENABLED=0 \
GOOS=$(BUILD_OS) \
Expand All @@ -43,15 +43,6 @@ $(DIRS):
@echo "⇒ Ensure dir: $@"
@mkdir -p $@

# Pull go dependencies
dep:
@printf "⇒ Download requirements: "
@CGO_ENABLED=0 \
go mod download && echo OK
@printf "⇒ Tidy requirements: "
@CGO_ENABLED=0 \
go mod tidy -v && echo OK

# Install generator
install-generator:
@go install github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen@v2.1.0
Expand Down

0 comments on commit 02e0776

Please sign in to comment.