diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -64,20 +64,11 @@ $ terraform destroy ## Building from source -1. ``` go get -u github.com/dmacvicar/terraform-provider-libvirt ``` - Install ```libvirt-devel``` package, if you get ``` fatal error: libvirt/libvirt.h: No such file or directory``` - -2. Switch the terraform project back to the stable version, otherwise you will get a `Incompatible API version with plugin. Plugin version: 1, Ours: 2` error at runtime: - ``` - cd $GOPATH/src/github.com/hashicorp/terraform - git checkout v0.6.16 - cd $GOPATH/src/github.com/dmacvicar/terraform-provider-libvirt - ``` -3. .. or alternatively install [govend](https://github.com/govend/govend) and: - 1. Run `govend`, which will scan dependencies and download them into vendor - 2. problematic dependencies, like terraform, will be automatically in the right version thanks to the `vendor.yml` file. -4. Run `go install` to build the binary. You will now find the - binary at `$GOPATH/bin/terraform-provider-libvirt`. +This project uses [vndr](https://github.com/lk4d4/vndr) to vendor all its +dependencies. + +Run `go install` to build the binary. You will now find the binary at +`$GOPATH/bin/terraform-provider-libvirt`. ## Running |