Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(592)

Unified Diff: go/README.md

Issue 2071243002: infra/go: Adding setup instructions and quick setup script. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | go/quicksetup.sh » ('j') | go/quicksetup.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/README.md
diff --git a/go/README.md b/go/README.md
index f31e42fa818b9b726ece53dfd3c393e211d6b4dc..013d0d548fe3fa4f624ed5cda47cc2abad4f3db2 100644
--- a/go/README.md
+++ b/go/README.md
@@ -2,6 +2,23 @@
[TOC]
+## Get the code
+
+The steps for getting the code are;
Eric Burnett 2016/06/17 17:23:30 ';' -> ':'
mithro 2016/06/18 07:13:17 Done.
+
+ 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
tandrii(chromium) 2016/06/17 09:28:44 s/Quick Setup/I just want to start coding (aka i
mithro 2016/06/18 07:13:17 "I just want to start coding" looks weird in the T
+
+If you are on Linux you can run the [quicksetup script](quicksetup.sh) like so;
Eric Burnett 2016/06/17 17:23:31 ';' -> ':'
mithro 2016/06/18 07:13:17 Done.
+
+```shell
tandrii(chromium) 2016/06/17 09:28:44 This works fine for github flavor of MD, but I'm n
tandrii(chromium) 2016/06/17 09:39:21 It does work in Gerrit too: https://chromium.googl
mithro 2016/06/18 07:13:17 Acknowledged.
mithro 2016/06/18 07:13:17 I can't actually see how you tell that it works in
+cd /where/you/want/source/code
+wget -O- "https://chromium.googlesource.com/infra/infra/+/master/go/quicksetup.sh?format=TEXT" | bash
Vadim Sh. 2016/06/17 17:38:46 format=TEXT actually returns base64 encoded text :
mithro 2016/06/18 07:13:17 Luckily `base64` command exists. Added to the comm
+```
Eric Burnett 2016/06/17 17:23:31 Can you also add a comment explaining what this wi
mithro 2016/06/18 07:13:17 Done.
+
## Structure
This directory contains a set of scripts to setup and manage a hermetic Go
« no previous file with comments | « no previous file | go/quicksetup.sh » ('j') | go/quicksetup.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698