Skip to content

Commit

Permalink
chore(readme): updates readme to what worked on a "new" env
Browse files Browse the repository at this point in the history
  • Loading branch information
fnurk committed Aug 16, 2023
1 parent e4eb9ed commit 8592e7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ How to

### Step 1: Install the plugin

Clone the repo. In the root of the repo run:

```bash
$ GOBIN=$PWD/build go install go.einride.tech/protoc-gen-go-aip-cli
$ go install ./cmd/protoc-gen-go-aip-cli
```

### Step 2: Configure the code generator
Expand Down Expand Up @@ -42,14 +44,13 @@ plugins:
opt:
- module=go.einride.tech/aip-cli/cmd/examplectl
- root=examplectl
- main=true
- gcloud_identity_tokens=true
```
### Step 3: Generate the code
```bash
$ buf generate buf.build/einride/aip \
$ buf generate \
--template buf.gen.example.yaml \
--path einride/example/freight
```
Expand Down

0 comments on commit 8592e7c

Please sign in to comment.