Created
December 7, 2016 10:53
-
-
Save csokol/b155e764b932106a79315b3858cc8ced to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ honeybadger-io git clone https://github.com/honeybadger-io/honeybadger-go | |
Cloning into 'honeybadger-go'... | |
remote: Counting objects: 576, done. | |
remote: Total 576 (delta 0), reused 0 (delta 0), pack-reused 576 | |
Receiving objects: 100% (576/576), 98.60 KiB | 0 bytes/s, done. | |
Resolving deltas: 100% (378/378), done. | |
Checking connectivity... done. | |
➜ honeybadger-io cd honeybadger-go | |
➜ honeybadger-go git:(master) ls | |
CHANGELOG.md buffered_worker.go configuration_test.go error_test.go notice_test.go | |
LICENSE client.go context.go honeybadger.go null_backend.go | |
Makefile client_test.go context_test.go honeybadger_test.go server.go | |
README.md configuration.go error.go notice.go worker.go | |
➜ honeybadger-go git:(master) make prepare | |
# dependencies | |
go get github.com/pborman/uuid | |
go get github.com/shirou/gopsutil/load | |
# testing libs | |
go get github.com/stretchr/testify/mock | |
go get github.com/stretchr/testify/assert | |
# needed for `make fmt` | |
go get golang.org/x/tools/cmd/goimports | |
# linters | |
go get github.com/alecthomas/gometalinter | |
gometalinter --install | |
Installing: | |
ineffassign | |
interfacer | |
staticcheck | |
unconvert | |
deadcode | |
errcheck | |
structcheck | |
unused | |
aligncheck | |
gotype | |
gosimple | |
misspell | |
varcheck | |
gocyclo | |
golint | |
goconst | |
goimports | |
lll | |
dupl | |
gas | |
# needed for `make cover` | |
go get golang.org/x/tools/cmd/cover | |
Now you should be ready to run make | |
➜ honeybadger-go git:(master) make test | |
# github.com/honeybadger-io/honeybadger-go | |
./notice.go:99: undefined: load.Avg | |
FAIL github.com/honeybadger-io/honeybadger-go [build failed] | |
make: *** [test] Error 2 | |
➜ honeybadger-go git:(master) go build | |
# github.com/honeybadger-io/honeybadger-go | |
./notice.go:99: undefined: load.Avg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment