~nskaggs/+junk/xenial-test

« back to all changes in this revision

Viewing changes to src/github.com/juju/govmomi/Makefile

  • Committer: Nicholas Skaggs
  • Date: 2016-10-24 20:56:05 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161024205605-z8lta0uvuhtxwzwl
Initi with beta15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.PHONY: test
 
2
 
 
3
all: check test
 
4
 
 
5
check: goimports govet
 
6
 
 
7
goimports:
 
8
        @echo checking go imports...
 
9
        @! goimports -d . 2>&1 | egrep -v '^$$'
 
10
 
 
11
govet:
 
12
        @echo checking go vet...
 
13
        @go tool vet -structtags=false -methods=false .
 
14
 
 
15
test:
 
16
        go get
 
17
        go test -v $(TEST_OPTS) ./...
 
18
 
 
19
install:
 
20
        go install github.com/vmware/govmomi/govc