mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-03 14:23:10 +02:00
make: Also run tests in subfolders.
This commit is contained in:
parent
9f86c80c33
commit
fde95ddc93
7
Makefile
7
Makefile
|
@ -9,6 +9,7 @@ GOVERSION := $(shell "$(GO)" env GOVERSION | sed "s|go||" )
|
|||
BINDIR := "$(CURDIR)/bin"
|
||||
VERSION := $(shell "$(CURDIR)/scripts/get-version.sh")
|
||||
TARVERSION := $(shell "$(CURDIR)/scripts/get-version.sh" --tar)
|
||||
PACKAGENAME := github.com/strukturag/nextcloud-spreed-signaling
|
||||
ifneq ($(VERSION),)
|
||||
INTERNALLDFLAGS := -X main.version=$(VERSION)
|
||||
else
|
||||
|
@ -73,9 +74,15 @@ fmt: hook
|
|||
|
||||
vet: common
|
||||
$(GO) vet .
|
||||
$(GO) vet $(PACKAGENAME)/client
|
||||
$(GO) vet $(PACKAGENAME)/proxy
|
||||
$(GO) vet $(PACKAGENAME)/server
|
||||
|
||||
test: vet common
|
||||
$(GO) test -v -timeout $(TIMEOUT) $(TESTARGS) .
|
||||
$(GO) test -v -timeout $(TIMEOUT) $(TESTARGS) $(PACKAGENAME)/client
|
||||
$(GO) test -v -timeout $(TIMEOUT) $(TESTARGS) $(PACKAGENAME)/proxy
|
||||
$(GO) test -v -timeout $(TIMEOUT) $(TESTARGS) $(PACKAGENAME)/server
|
||||
|
||||
cover: vet common
|
||||
rm -f cover.out && \
|
||||
|
|
Loading…
Reference in a new issue