Skip to content

Improve build instructions in README #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,23 @@ See [Doing continuous integration with arduino builder](https://github.com/ardui

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

Repo root contains the script `setup_go_env_vars`. Use it as is or as a template for setting up Go environment variables.

To install `codereview/patch` you have to install [Mercurial](https://www.mercurial-scm.org/) first.

Once done, run the following commands:
To set things up, run the following inside the cloned arduino-builder
directory:

```
export GOPATH=$(pwd)
go get github.com/go-errors/errors
go get github.com/stretchr/testify
go get github.com/jstemmer/go-junit-report
go build arduino.cc/arduino-builder
```

After installing dependencies, you do not need to run the `go get`
commands again, but you will have to set `GOPATH` again for every shell
you want to build in.

### TDD

In order to run the tests, type:
Expand Down
3 changes: 0 additions & 3 deletions setup_go_env_vars

This file was deleted.