Skip to content

Commit 89bf021

Browse files
authored
Merge pull request #287 from etiennecoutaud/make-readme
doc/user_guide.md - README - Makefile: Use Makefile in documentation
2 parents cf1b5e0 + 803631e commit 89bf021

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ format:
1212
go fmt $(pkgs)
1313

1414
dep:
15-
dep ensure
15+
dep ensure -v
1616

1717
.PHONY: all install test format dep

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ First, checkout and install the operator-sdk CLI:
3535
```sh
3636
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
3737
$ git checkout master
38-
$ dep ensure
39-
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk
38+
$ make dep
39+
$ make install
4040
```
4141

4242
Create and deploy an app-operator using the SDK CLI:

doc/user-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Checkout the desired release tag and install the SDK CLI tool:
2222
```sh
2323
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
2424
$ git checkout master
25-
$ dep ensure
26-
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk
25+
$ make dep
26+
$ make install
2727
```
2828

2929
This installs the CLI binary `operator-sdk` at `$GOPATH/bin`.

0 commit comments

Comments
 (0)