Skip to content

Commit bd86c7f

Browse files
committed
documenting formatter
1 parent 95d25f9 commit bd86c7f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,12 @@ git clone https://github.com/kubernetes-client/gen
235235
export GEN_ROOT=${PWD}
236236
```
237237

238-
Then to update the client:
238+
Then to update the client and run the formatter:
239239

240240
```sh
241241
cd ${HOME}/src/java
242242
${GEN_ROOT}/gen/openapi/java.sh kubernetes ./settings
243+
./mvnw spotless:apply
243244
```
244245

245246
This should run through a long-ish build process involving `docker` and eventually result in a new set of

scripts/update-client.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,7 @@ fi
5151
echo ">>> Running java generator from the gen repo"
5252
"${GEN_ROOT}/openapi/java.sh" "${CLIENT_ROOT}" "${SCRIPT_ROOT}/../settings"
5353

54+
echo ">>> Running formatter"
55+
./mvnw spotless:apply
56+
5457
echo ">>> Done."

0 commit comments

Comments
 (0)