mirror of
https://github.com/vee1e/kubeedge.git
synced 2026-09-01 18:27:38 +00:00
27 lines
472 B
Makefile
27 lines
472 B
Makefile
|
|
# make edge_core
|
|
.PHONY: default edge_core
|
|
edge_core:
|
|
go build cmd/edge_core.go
|
|
|
|
# unit tests
|
|
.PHONY: test
|
|
ifeq ($(WHAT),)
|
|
TEST_DIR="./pkg/"
|
|
else
|
|
TEST_DIR=${WHAT}
|
|
endif
|
|
|
|
export GOARCHAIUS_CONFIG_PATH=$(CURDIR)
|
|
test:
|
|
find ${TEST_DIR} -name "*_test.go"|xargs -i dirname {}|uniq|xargs -i go test ${T} {}
|
|
|
|
# verify
|
|
.PHONY: verify
|
|
verify:
|
|
bash -x hack/verify.sh
|
|
|
|
.PHONY: integration_test
|
|
integration_test:
|
|
bash test/integration/scripts/execute.sh eventbus
|
|
|