summaryrefslogtreecommitdiff
path: root/vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile')
-rw-r--r--vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile b/vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile
new file mode 100644
index 00000000..9ffd5751
--- /dev/null
+++ b/vendor/github.com/mitchellh/packer/vendor/github.com/vmware/govmomi/Makefile
@@ -0,0 +1,24 @@
+.PHONY: test
+
+all: check test
+
+check: goimports govet
+
+goimports:
+ @echo checking go imports...
+ @go get golang.org/x/tools/cmd/goimports
+ @! goimports -d . 2>&1 | egrep -v '^$$'
+
+govet:
+ @echo checking go vet...
+ @go tool vet -structtags=false -methods=false $$(find . -mindepth 1 -maxdepth 1 -type d -not -name vendor)
+
+test:
+ go test -v $(TEST_OPTS) ./...
+
+install:
+ go install -v github.com/vmware/govmomi/govc
+ go install -v github.com/vmware/govmomi/vcsim
+
+doc: install
+ ./govc/usage.sh > ./govc/USAGE.md