aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitri@shuralyov.com>2018-11-05 08:57:52 -0500
committeralandonovan <adonovan@google.com>2018-11-05 08:57:52 -0500
commit5e133cfef2850459e17ab8a90b79a536cfe88f03 (patch)
tree3c6c23eefd548084cd6083783b1e1dd3739cd73b /README.md
parent1adc2a69b67e796f9f0447a778453fe5a4c491e5 (diff)
downloadstarlark-go-5e133cfef2850459e17ab8a90b79a536cfe88f03.tar.gz
README: simplify installation instructions (#9)
* README: simplify installation instructions go get already does the work done by go install ¹, so doing a go install afterwards is redundant. Use this property to make the installation process simpler. Also remove an unneeded blank line. ¹ https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies * README: adjust go get -u comment formatting This way, it fits on the page without having to scroll. I'm happy to change it if requested.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index afdb974..f25ee61 100644
--- a/README.md
+++ b/README.md
@@ -50,9 +50,9 @@ languages and compilers.
Build the code:
```shell
-
-$ go get -u go.starlark.net/cmd/starlark # check out the code and dependencies
-$ go install go.starlark.net/cmd/starlark # install interpreter in $GOPATH/bin
+# check out the code and dependencies,
+# and install interpreter in $GOPATH/bin
+$ go get -u go.starlark.net/cmd/starlark
```
Run the interpreter: