Skip to content

Commit

Permalink
Update requirements and build instructions (camptocamp#7)
Browse files Browse the repository at this point in the history
* Update README.md

To build this project, dependencies are installed with dep. These trivial
changes documents that requirement and how to use to install dependencies
before trying to build the project.

This project requires Go v1.9 to build because of the terraform dependency it
uses.

These trivial changes replaces the generic github.com URLs originating from
the terraform plugin template, with actual URLs for this particular provider.
  • Loading branch information
phillipj authored and mcanevet committed May 2, 2018
1 parent 499d6f8 commit acc07ab
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ Requirements
------------

- [Terraform](https://www.terraform.io/downloads.html) 0.10.x
- [Go](https://golang.org/doc/install) 1.8 (to build the provider plugin)
- [Go](https://golang.org/doc/install) 1.9 and [dep](https://golang.github.io/dep/) (to build the provider plugin)

Building The Provider
---------------------

Clone repository to: `$GOPATH/src/github.com/hashicorp/terraform-provider-$PROVIDER_NAME`
Download the provider source code

```sh
$ mkdir -p $GOPATH/src/github.com/hashicorp; cd $GOPATH/src/github.com/hashicorp
$ git clone git@github.com:hashicorp/terraform-provider-$PROVIDER_NAME
$ go get github.com/camptocamp/terraform-provider-pass
```

Enter the provider directory and build the provider

```sh
$ cd $GOPATH/src/github.com/hashicorp/terraform-provider-$PROVIDER_NAME
$ cd $GOPATH/src/github.com/camptocamp/terraform-provider-pass
$ dep ensure
$ make build
```

Expand Down

0 comments on commit acc07ab

Please # to comment.