mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-07-16 12:08:04 +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
|
@rm -f aptly.test
|
||||||
go generate
|
go generate
|
||||||
# install and initialize swagger
|
# 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
|
PATH=$(BINPATH)/:$(PATH) swag init
|
||||||
# build coverage binary
|
# build coverage binary
|
||||||
go test -v -coverpkg="./..." -c -tags testruncli
|
go test -v -coverpkg="./..." -c -tags testruncli
|
||||||
|
|||||||
Reference in New Issue
Block a user