Add inject-test-data to the makefile (#19715)
Этот коммит содержится в:
4
Makefile
4
Makefile
@@ -444,7 +444,9 @@ cover: ## Runs the golang coverage tool. You must run the unit tests first.
|
|||||||
$(GO) tool cover -html=cover.out
|
$(GO) tool cover -html=cover.out
|
||||||
$(GO) tool cover -html=ecover.out
|
$(GO) tool cover -html=ecover.out
|
||||||
|
|
||||||
test-data: run-server ## Add test data to the local instance.
|
test-data: run-server inject-test-data ## start a local instance and add test data to it.
|
||||||
|
|
||||||
|
inject-test-data: # add test data to the local instance.
|
||||||
@if ! ./scripts/wait-for-system-start.sh; then \
|
@if ! ./scripts/wait-for-system-start.sh; then \
|
||||||
make stop; \
|
make stop; \
|
||||||
fi
|
fi
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user