提交 5af523b2 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Add lcov into get-dep.sh

上级 9f5debbe
...@@ -112,10 +112,19 @@ function get_catch() ...@@ -112,10 +112,19 @@ function get_catch()
cp ${DEST}/single_include/catch.hpp test/include/ cp ${DEST}/single_include/catch.hpp test/include/
} }
function get_lcov()
{
GIT_REPO="https://github.com/linux-test-project/lcov.git"
GIT_TAG="master"
DEST="deps/lcov"
get_dep "${GIT_REPO}" "${GIT_TAG}" "${DEST}"
}
case "${DEP}" in case "${DEP}" in
'-h') '-h')
echo "Usage:" echo "Usage:"
echo " ./scripts/$(basename $0) [gyp|jsoncpp|netstring|libuv|openssl|libsrtp|catch]" echo " ./scripts/$(basename $0) [gyp|jsoncpp|netstring|libuv|openssl|libsrtp|catch|lcov]"
echo echo
;; ;;
gyp) gyp)
...@@ -139,6 +148,9 @@ case "${DEP}" in ...@@ -139,6 +148,9 @@ case "${DEP}" in
catch) catch)
get_catch get_catch
;; ;;
lcov)
get_lcov
;;
*) *)
echo ">>> [ERROR] unknown dep '${DEP}'" >&2 echo ">>> [ERROR] unknown dep '${DEP}'" >&2
exit 1 exit 1
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论