Skip to content

Commit

Permalink
docs: fix list num (#3356)
Browse files Browse the repository at this point in the history
In this PR:
- Fix list num in `DEVELOPMENT.md`.
  • Loading branch information
JoeWang1127 authored Nov 8, 2024
1 parent 222fb45 commit b7d6296
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hermetic_build/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ python hermetic_build/library_generation/cli/entry_point.py generate \
-t local:image-tag \
.
```
Please note that the build only works when using the new
[Docker BuildKit](https://docs.docker.com/build/buildkit/) (enabled through the `DOCKER_BUILDKIT` variable).
Please note that the build only works when using the new [Docker BuildKit](https://docs.docker.com/build/buildkit/)
(enabled through the `DOCKER_BUILDKIT` variable).

3. Set the version of gapic-generator-java
2. Set the version of gapic-generator-java

```shell
LOCAL_GENERATOR_VERSION=$(mvn \
Expand All @@ -179,7 +179,7 @@ python hermetic_build/library_generation/cli/entry_point.py generate \
-q)
```

4. Run the image
3. Run the image

```shell
# Assume you want to generate the library in the current working directory
Expand All @@ -196,7 +196,7 @@ python hermetic_build/library_generation/cli/entry_point.py generate \
--library-names=apigee-connect,asset \
--repository-path=/workspace \
--api-definitions-path=/workspace/apis
```
```
Note that if you specify the generator version using environment variable,
`-e GENERATOR_VERSION="${LOCAL_GENERATOR_VERSION}"` in the above example,
you should not set `gapic_generator_version` and `protoc_version` in the
Expand Down

0 comments on commit b7d6296

Please sign in to comment.