makefile: add more build targets

To make it easy to build and test.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
Peng Tao 2020-05-25 09:06:12 -07:00
parent 4fdb4cffd5
commit f53901ad43

View File

@ -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