From a4c86b4c4ad12ba21a0b8a7d732bae94ac794b20 Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Thu, 11 Jul 2019 12:24:58 +0200 Subject: [PATCH] README: Update Makefile and readme to ease local build --- Makefile | 7 +++++++ README.md | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ab322fd..c6e6012 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/README.md b/README.md index ade8b2c..fb2c394 100644 --- a/README.md +++ b/README.md @@ -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 ```