[#65] Typo fixes

SWAGGER_URL must be defined externally and fall back to default only
when not set.

Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
Stanislav Bogatyrev 2022-09-12 09:51:35 +03:00 committed by Stanislav Bogatyrev
parent a3e196c5d4
commit 843f099108

View file

@ -21,7 +21,7 @@ ifeq ($(UNAME), "Darwin/x86_64")
SWAGGER_ARCH = darwin_amd64 SWAGGER_ARCH = darwin_amd64
endif endif
SWAGGER_URL = "https://github.com/go-swagger/go-swagger/releases/download/$(SWAGGER_VERSION)/swagger_$(SWAGGER_ARCH)" SWAGGER_URL ?= "https://github.com/go-swagger/go-swagger/releases/download/$(SWAGGER_VERSION)/swagger_$(SWAGGER_ARCH)"
# List of binaries to build. For now just one. # List of binaries to build. For now just one.
BINDIR = bin BINDIR = bin