Skip to content

Commit b91cea8

Browse files
authored
Merge pull request #245 from matthijskooijman/improve-readme
Improve build instructions in README
2 parents 890e1ec + 0b0c6d6 commit b91cea8

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Diff for: README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,23 @@ See [Doing continuous integration with arduino builder](https://github.com/ardui
5757

5858
You need [Go 1.6.3](https://golang.org/dl/#go1.6.3).
5959

60-
Repo root contains the script `setup_go_env_vars`. Use it as is or as a template for setting up Go environment variables.
61-
6260
To install `codereview/patch` you have to install [Mercurial](https://www.mercurial-scm.org/) first.
6361

64-
Once done, run the following commands:
62+
To set things up, run the following inside the cloned arduino-builder
63+
directory:
6564

6665
```
66+
export GOPATH=$(pwd)
6767
go get github.com/go-errors/errors
6868
go get github.com/stretchr/testify
6969
go get github.com/jstemmer/go-junit-report
7070
go build arduino.cc/arduino-builder
7171
```
7272

73+
After installing dependencies, you do not need to run the `go get`
74+
commands again, but you will have to set `GOPATH` again for every shell
75+
you want to build in.
76+
7377
### TDD
7478

7579
In order to run the tests, type:

Diff for: setup_go_env_vars

-3
This file was deleted.

0 commit comments

Comments
 (0)