@@ -55,31 +55,26 @@ See [Doing continuous integration with arduino builder](https://github.com/ardui
5555
5656### Building from source
5757
58- You need [ Go 1.6.3 ] ( https://golang.org/dl/#go1.6.3 ) .
58+ You need [ a recent version of Go (>=1.8.0) ] ( https://golang.org/ ) .
5959
60- To install ` codereview/patch ` you have to install [ Mercurial] ( https://www.mercurial-scm.org/ ) first.
61-
62- To set things up, run the following inside the cloned arduino-builder
63- directory:
60+ To build, run the following commands:
6461
6562```
66- export GOPATH=$(pwd)
6763go get github.com/go-errors/errors
6864go get github.com/stretchr/testify
6965go get github.com/jstemmer/go-junit-report
70- go build arduino.cc/arduino-builder
66+ go get github.com/arduino/go-properties-map
67+ go get github.com/arduino/go-timeutils
68+ go get github.com/arduino/arduino-builder
69+ go build github.com/arduino/arduino-builder/arduino-builder
7170```
7271
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-
7772### TDD
7873
7974In order to run the tests, type:
8075
8176```
82- go test arduino.cc /...
77+ go test github.com/arduino/arduino-builder/arduino-builder /...
8378```
8479
8580This runs all tests, showing any failures and a summary at the end.
@@ -93,13 +88,13 @@ To run a single test, use the -run option, which accepts a regular
9388expression (see also go help testflag).
9489
9590```
96- go test arduino.cc /... -run 'TestBuilderEmptySketch'
97- go test arduino.cc /... -run 'TestPrototypesAdder.*'
91+ go test github.com/arduino/arduino-builder/arduino-builder /... -run 'TestBuilderEmptySketch'
92+ go test github.com/arduino/arduino-builder/arduino-builder /... -run 'TestPrototypesAdder.*'
9893```
9994
10095In jenkins, use
10196```
102- go test -v arduino.cc /... | bin/go-junit-report > report.xml
97+ go test -v github.com/arduino/arduino-builder/arduino-builder /... | bin/go-junit-report > report.xml
10398```
10499
105100The first time you run the tests, some needed files (toolchains and
@@ -114,6 +109,6 @@ increasing the timeout might be needed as well.
114109
115110` arduino-builder ` is licensed under General Public License version 2, as published by the Free Software Foundation. See [ LICENSE.txt] ( LICENSE.txt ) .
116111
117- Copyright (C) 2015 Arduino LLC and contributors
112+ Copyright (C) 2017 Arduino AG and contributors
118113
119114See https://www.arduino.cc/ and https://github.com/arduino/arduino-builder/graphs/contributors
0 commit comments