srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
Alexs-MacBook-Air:Downloads acgourley$ src toolchain install-std
Installing/upgrading standard toolchains...
Go (sourcegraph.com/sourcegraph/srclib-go) ====================================
Symlinked toolchain sourcegraph.com/sourcegraph/srclib-go into your GOPATH at%!(EXTRA string=/Users/acgourley/gocode/src/sourcegraph.com/sourcegraph/srclib-go)
Downloading or updating Go toolchain in /Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go
Running [src toolchain get -u sourcegraph.com/sourcegraph/srclib-go]
Building Go toolchain program
Running [make -C /Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go]
go get github.com/tools/godep
godep go build -o .bin/srclib-go
make: godep: No such file or directory
make: *\ [install] Error 1
failed to install/upgrade Go (sourcegraph.com/sourcegraph/srclib-go) toolchain: command ["make" "-C" "/Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go"] failed: exit status 2
Alexs-MacBook-Air:Downloads acgourley$ src toolchain install-std Installing/upgrading standard toolchains...
Go (sourcegraph.com/sourcegraph/srclib-go) ==================================== Symlinked toolchain sourcegraph.com/sourcegraph/srclib-go into your GOPATH at%!(EXTRA string=/Users/acgourley/gocode/src/sourcegraph.com/sourcegraph/srclib-go) Downloading or updating Go toolchain in /Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go Running [src toolchain get -u sourcegraph.com/sourcegraph/srclib-go] Building Go toolchain program Running [make -C /Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go] go get github.com/tools/godep godep go build -o .bin/srclib-go make: godep: No such file or directory make: *\ [install] Error 1 failed to install/upgrade Go (sourcegraph.com/sourcegraph/srclib-go) toolchain: command ["make" "-C" "/Users/acgourley/.srclib/sourcegraph.com/sourcegraph/srclib-go"] failed: exit status 2