Merge pull request #66 from ardumont/master

README: Update Makefile/readme to ease local build
This commit is contained in:
Grant Gongaware 2019-07-14 08:16:00 -07:00 committed by GitHub
commit 9c1f2f4194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,13 @@
all: build
setup:
go get github.com/Telmate/proxmox-api-go
go get github.com/hashicorp/terraform/plugin
go get github.com/hashicorp/terraform/terraform
go get github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provider-proxmox
go get github.com/Telmate/terraform-provider-proxmox/cmd/terraform-provisioner-proxmox
build: clean
@echo " -> Building"
@cd cmd/terraform-provider-proxmox && go build

View File

@ -21,9 +21,9 @@ Note: this plugin is both a provider and provisioner in one, which is why it nee
Requires https://github.com/Telmate/proxmox-api-go
```
go get github.com/Telmate/proxmox-api-go
export GOPATH=`pwd`
make setup
make
make install
```