Update instructions for Govet

This commit is contained in:
joeduffy 2017-05-24 13:25:28 -07:00
parent dd706ca4e4
commit e9cc0acb05

View file

@ -45,15 +45,21 @@ Lumi is written in Go, uses Godep for dependency management, and Golint for lint
To build Lumi, ensure `$GOPATH` is set, and clone into a standard Go workspace:
$ git clone git@github.com:pulumi/lumi $GOPATH/src/github.com/pulumi/lumi
At this point you should be able to build and run tests from the root directory:
$ cd $GOPATH/src/github.com/pulumi/lumi
$ glide update
Before building, you will need to ensure dependencies have been restored to your enlistment:
$ godep restore
At this point you can run `make` to build and run tests:
$ make
This installs the `lumi` binary into `$GOPATH/bin`, which may now be run provided `make` exited successfully.
The Makefile also supports just running tests (`make test`), just running the linter (`make lint`), just running Govet
(`make vet`), and so on. Please just refer to the Makefile for the full list of targets.
### Installing the Runtime Libraries
By default, Lumi looks for its runtime libraries underneath `/usr/local/lumi`. `$LUMIPATH` overrides this.