jiri工具

示例

export MY_ROOT=$HOME/workspace/private
curl -s https://fuchsia.googlesource.com/jiri/+/master/scripts/bootstrap_jiri?format=TEXT | base64 --decode | bash -s "$MY_ROOT"
export PATH="$MY_ROOT"/.jiri_root/bin:$PATH
cd "$MY_ROOT"
jiri import -name jiri manifest https://fuchsia.googlesource.com/jiri
jiri update

this  该命令会在~/workspace/private/下面创建目录

~/workspace/private/go/src/fuchsia.googlesource.com/jiri

jiri代码就在里面了。

 

分类: 默认 标签: 发布于: 2021-12-21 08:42:53, 更新于: 2021-12-21 08:43:43