diff options
author | Flavio Castelli <fcastelli@suse.com> | 2017-05-03 11:37:08 +0200 |
---|---|---|
committer | Alvaro <alvaro.saurin@gmail.com> | 2017-05-03 11:40:31 +0200 |
commit | ee12004ab93e54f326896e9909ba9e6a2bd11e89 (patch) | |
tree | 1ea30d204b04425ebd1dadaf8cc991d572c7f0fb /README.md | |
parent | a286dc5494691c2b04c48ef6695ed0c902912c0f (diff) | |
download | terraform-provider-libvirt-ee12004ab93e54f326896e9909ba9e6a2bd11e89.tar terraform-provider-libvirt-ee12004ab93e54f326896e9909ba9e6a2bd11e89.tar.gz |
Vendor dependencies with vndr
This fixes issue #123
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 |