| Index: go/README.md
|
| diff --git a/go/README.md b/go/README.md
|
| index f31e42fa818b9b726ece53dfd3c393e211d6b4dc..d589ac5e6d052abf9b2b57b0eb0870de7d441f95 100644
|
| --- a/go/README.md
|
| +++ b/go/README.md
|
| @@ -2,6 +2,31 @@
|
|
|
| [TOC]
|
|
|
| +
|
| +## Get the code
|
| +
|
| +The steps for getting the code are:
|
| +
|
| + 1. [Install depot_tools](https://www.chromium.org/developers/how-tos/install-depot-tools)
|
| + 1. Run `fetch infra`
|
| + 1. Run `infra/go/env.py`
|
| +
|
| +
|
| +### Quick Setup
|
| +
|
| +If you are on Linux you can run the [quicksetup script](quicksetup.sh) like so:
|
| +
|
| +```shell
|
| +cd /where/you/want/source/code
|
| +wget -O- "https://chromium.googlesource.com/infra/infra/+/master/go/quicksetup.sh?format=TEXT" | base64 -d | bash
|
| +```
|
| +
|
| +This will create a self-contained `cr-infra-go-area` directory and populate it
|
| +will all necessary tools and source for using or contributing to Chromium's Go
|
| +Infrastructure. Once run, look in `cr-infra-go-area/infra/go/src` for the
|
| +editable source code.
|
| +
|
| +
|
| ## Structure
|
|
|
| This directory contains a set of scripts to setup and manage a hermetic Go
|
| @@ -36,6 +61,7 @@ manage all dependencies centrally in a single place, thus avoiding issues of
|
| version conflicts and binary bloat due to inclusion of a same third party code
|
| via multiple import paths.
|
|
|
| +
|
| ## Bootstrap
|
|
|
| `infra/go` knows how to bootstrap itself from scratch (i.e. from a fresh
|
|
|