mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-18 04:32:59 -06:00
390b0d5ab9
* vendor: Update dependency vmware/govmomi * fixed data types * fixed RemoveDevice * fixed CreateDisk usage
25 lines
455 B
Makefile
25 lines
455 B
Makefile
.PHONY: test
|
|
|
|
all: check test
|
|
|
|
check: goimports govet
|
|
|
|
vendor:
|
|
go get golang.org/x/tools/cmd/goimports
|
|
go get github.com/davecgh/go-spew/spew
|
|
go get golang.org/x/net/context
|
|
|
|
goimports: vendor
|
|
@echo checking go imports...
|
|
@! goimports -d . 2>&1 | egrep -v '^$$'
|
|
|
|
govet:
|
|
@echo checking go vet...
|
|
@go tool vet -structtags=false -methods=false .
|
|
|
|
test: vendor
|
|
go test -v $(TEST_OPTS) ./...
|
|
|
|
install: vendor
|
|
go install github.com/vmware/govmomi/govc
|