Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
M
mediasoup
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
聂卓夫
mediasoup
Commits
82ed1222
提交
82ed1222
authored
12月 22, 2023
作者:
Iñaki Baz Castillo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
super cosmetic
上级
7f2a3d21
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
10 行增加
和
10 行删除
+10
-10
cppcheck.sh
worker/scripts/cppcheck.sh
+3
-3
flint++.sh
worker/scripts/flint++.sh
+2
-2
get-dep.sh
worker/scripts/get-dep.sh
+5
-5
没有找到文件。
worker/scripts/cppcheck.sh
浏览文件 @
82ed1222
...
...
@@ -29,7 +29,7 @@ CPPCHECKS="warning,style,performance,portability,unusedFunction"
XML_FILE
=
"/tmp/mediasoup-worker-cppcheck.xml"
HTML_REPORT_DIR
=
"/tmp/mediasoup-worker-cppcheck-report"
echo
">>> [INFO] running cppcheck
..."
echo
">>> [INFO] running cppcheck..."
cppcheck
--std
=
c++11
--enable
=
${
CPPCHECKS
}
-v
--quiet
--report-progress
--inline-suppr
--error-exitcode
=
69
-I
include src
--xml-version
=
2 2>
$XML_FILE
# If exit code is 1 it means that some cppcheck option is wrong, so abort.
...
...
@@ -40,12 +40,12 @@ fi
echo
">>> [INFO] cppcheck XML report file generated in
${
XML_FILE
}
"
echo
">>> [INFO] running cppcheck-htmlreport
..."
echo
">>> [INFO] running cppcheck-htmlreport..."
cppcheck-htmlreport
--title
=
"mediasoup-worker"
--file
=
${
XML_FILE
}
--report-dir
=
${
HTML_REPORT_DIR
}
--source-dir
=
.
>
/dev/null
echo
">>> [INFO] cppcheck HTML report generated in
${
HTML_REPORT_DIR
}
"
if
type
"open"
&> /dev/null
;
then
echo
">>> [INFO] opening HTML report
..."
echo
">>> [INFO] opening HTML report..."
open
${
HTML_REPORT_DIR
}
/index.html
fi
worker/scripts/flint++.sh
浏览文件 @
82ed1222
...
...
@@ -13,9 +13,9 @@ if ! type "flint++" &> /dev/null; then
exit
1
fi
echo
">>> [INFO] running flint++ in src/ folder
..."
echo
">>> [INFO] running flint++ in src/ folder..."
flint++
--recursive
--verbose
src/
echo
echo
">>> [INFO] running flint++ in include/ folder
..."
echo
">>> [INFO] running flint++ in include/ folder..."
flint++
--recursive
--verbose
include/
worker/scripts/get-dep.sh
浏览文件 @
82ed1222
...
...
@@ -17,24 +17,24 @@ function get_dep()
GIT_TAG
=
"
$2
"
DEST
=
"
$3
"
echo
">>> [INFO] getting dep '
${
DEP
}
'
..."
echo
">>> [INFO] getting dep '
${
DEP
}
'..."
if
[
-d
"
${
DEST
}
"
]
;
then
echo
">>> [INFO] deleting
${
DEST
}
..."
echo
">>> [INFO] deleting
${
DEST
}
..."
git
rm
-rf
--ignore-unmatch
${
DEST
}
>
/dev/null
rm
-rf
${
DEST
}
fi
echo
">>> [INFO] cloning
${
GIT_REPO
}
..."
echo
">>> [INFO] cloning
${
GIT_REPO
}
..."
git clone
${
GIT_REPO
}
${
DEST
}
cd
${
DEST
}
echo
">>> [INFO] setting '
${
GIT_TAG
}
' git tag
..."
echo
">>> [INFO] setting '
${
GIT_TAG
}
' git tag..."
git checkout
--quiet
${
GIT_TAG
}
set
-e
echo
">>> [INFO] adding dep source code to the repository
..."
echo
">>> [INFO] adding dep source code to the repository..."
rm
-rf
.git
git add
.
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论