mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-04 05:10:40 +00:00
system-tests: install swag only if needed
This commit is contained in:
@@ -70,7 +70,7 @@ docker-test: ## Run system tests
|
||||
@rm -f aptly.test
|
||||
go generate
|
||||
# install and initialize swagger
|
||||
go install github.com/swaggo/swag/cmd/swag@latest
|
||||
test -f $(BINPATH)/swag || go install github.com/swaggo/swag/cmd/swag@latest
|
||||
PATH=$(BINPATH)/:$(PATH) swag init
|
||||
# build coverage binary
|
||||
go test -v -coverpkg="./..." -c -tags testruncli
|
||||
|
||||
Reference in New Issue
Block a user