Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
812abe83
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
812abe83
编写于
7月 08, 2020
作者:
L
liuxu
提交者:
Liu Jiaming
7月 09, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Scripts: apollo.sh usage updated
上级
1b7d7f7e
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
22 addition
and
1 deletion
+22
-1
apollo.sh
apollo.sh
+21
-1
scripts/apollo.bashrc
scripts/apollo.bashrc
+1
-0
未找到文件。
apollo.sh
浏览文件 @
812abe83
...
...
@@ -99,7 +99,27 @@ function build_test_and_lint() {
}
function
_usage
()
{
warning
"Usage: Not implemented yet"
echo
-e
"
\n
${
RED
}
Usage
${
NO_COLOR
}
:
.
${
BOLD
}
/apollo.sh
${
NO_COLOR
}
[OPTION]"
echo
-e
"
\n
${
RED
}
Options
${
NO_COLOR
}
:
${
BLUE
}
config [options]
${
NO_COLOR
}
: config bazel build environment either non-interactively (default) or interactively.
${
BLUE
}
build [module]
${
NO_COLOR
}
: run build for cyber (<module> = cyber) or modules/<module>. If <module> not specified, build all.
${
BLUE
}
build_dbg [module]
${
NO_COLOR
}
: run debug build (default).
${
BLUE
}
build_opt [module]
${
NO_COLOR
}
: run optimized build.
${
BLUE
}
build_cpu [module]
${
NO_COLOR
}
: build in CPU mode. Equivalent to 'bazel build --config=cpu'
${
BLUE
}
build_gpu [module]
${
NO_COLOR
}
: run build in GPU mode. Equivalent to 'bazel build --config=gpu'
${
BLUE
}
build_opt_gpu [module]
${
NO_COLOR
}
: optimized build in GPU mode. Equivalent to 'bazel build --config=opt --config=gpu'
${
BLUE
}
test [module]
${
NO_COLOR
}
: run unit tests for cyber (<module> = cyber) or modules/<module>. If <module> not specified, unit test all.
${
BLUE
}
lint
${
NO_COLOR
}
: run code style check
${
BLUE
}
buildify
${
NO_COLOR
}
: run 'buildifier' to fix style of bazel files
${
BLUE
}
check
${
NO_COLOR
}
: run build, test and lint on all modules. Make sure check pass before checking in new code
${
BLUE
}
build_fe
${
NO_COLOR
}
: compile dreamland frontend javascript. Requires all the node_modules installed already
${
BLUE
}
build_teleop
${
NO_COLOR
}
: run build with teleop enabled.
${
BLUE
}
build_prof [module]
${
NO_COLOR
}
: build with perf profiling support. Not implemented yet.
${
BLUE
}
doc
${
NO_COLOR
}
: generate doxygen document
${
BLUE
}
clean
${
NO_COLOR
}
: cleanup, including 'bazel clean --async'.
${
BLUE
}
usage
${
NO_COLOR
}
: show this message
"
}
function
main
()
{
...
...
scripts/apollo.bashrc
浏览文件 @
812abe83
...
...
@@ -35,6 +35,7 @@ export TAB=" " # 4 spaces
BOLD
=
'\033[1m'
RED
=
'\033[0;31m'
BLUE
=
'\033[0;34m'
GREEN
=
'\033[32m'
WHITE
=
'\033[34m'
YELLOW
=
'\033[33m'
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录