Skip to content

Commit 0b86550

Browse files
mindlessromanxuzhang3Nicholas M. Iodice
authored
Update the GOPATH Model commands (#317)
* Update the GOPATH Model commands A tweak to the instructions. Trying to smooth out a `mkdir` and then `cd`-ing inside. * Fixing the clone statement Fix the clone statement * Adding a reference to the contributing docs ... because otherwise it's not as clear how to perform the rest of the install. Co-authored-by: xuzhang3 <57888764+xuzhang3@users.noreply.github.com> Co-authored-by: Nicholas M. Iodice <niiodice@microsoft.com>
1 parent b6010e2 commit 0b86550

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,14 @@ If you wish to work on the provider, you'll first need [Go](http://www.golang.or
7777
First clone the repository to: `$GOPATH/src/github.com/terraform-providers/terraform-provider-azuredevops`
7878

7979
```sh
80-
$ mkdir -p $GOPATH/src/github.com/terraform-providers/terraform-provider-azuredevops; cd $GOPATH/src/github.com/terraform-providers/terraform-provider-azuredevops
81-
$ git clone git@github.com:terraform-providers/terraform-provider-azuredevops.git
82-
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-azuredevops.git
80+
$ mkdir -p $GOPATH/src/github.com/terraform-providers && cd "$_"
81+
$ git clone git@github.com:microsoft/terraform-provider-azuredevops.git
82+
$ cd terraform-provider-azuredevops
8383
```
8484

85+
Once you've cloned, run the `./scripts/build.sh` and `./scripts/local-install.sh`, as recommended [here](https://github.com/microsoft/terraform-provider-azuredevops/blob/master/docs/contributing.md#3-build--install-provider).
86+
These commands will sideload the plugin for Terraform.
87+
8588
### Using a directory separate from GOPATH
8689

8790
The infrastructure supports building and testing the provider outside `GOPATH` in an arbitrary directory.

0 commit comments

Comments
 (0)