From f53901ad43fd9719b94e55f289ad4aca239f6041 Mon Sep 17 00:00:00 2001 From: Peng Tao Date: Mon, 25 May 2020 09:06:12 -0700 Subject: [PATCH] makefile: add more build targets To make it easy to build and test. Signed-off-by: Peng Tao --- Makefile | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6d1c4f708d..afc763a363 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,18 @@ # SPDX-License-Identifier: Apache-2.0 # -test: - bash ci/go-test.sh +default: runtime agent + +runtime: + make -C src/runtime + +agent: + make -C src/agent + +test-runtime: + make -C src/runtime test + +test-agent: + make -C src/agent check + +test: test-runtime test-agent