Skip to content

Commit 5504e3b

Browse files
committed
fix errorprone
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent 2a2a0b5 commit 5504e3b

File tree

3 files changed

+279
-148
lines changed

3 files changed

+279
-148
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you're getting errors when running tests:
3030
- Use `-Dcheckstyle.skip=true` to skip the checkstyle check during development.
3131
- Use `-Dwarnings=-nowarn` to skip the warnings during development.
3232

33-
Combine all with `mvn test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn`.
33+
Combine all with `./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn`.
3434

3535
## Updating the Protobuf Java Classes
3636

mise.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,15 @@ run = [
1313
"./mvnw javadoc:javadoc -P javadoc"
1414
]
1515
env = { PROTO_GENERATION = "true", REQUIRE_PROTO_UP_TO_DATE = "true" }
16+
17+
[tasks.format]
18+
description = "format source code"
19+
run = "./mvnw spotless:apply"
20+
21+
[tasks.test]
22+
description = "run unit tests, ignoring formatting and linters"
23+
run = "./mvnw test -DskipTests=true -Dspotless.check.skip=true -Dcoverage.skip=true -Dcheckstyle.skip=true -Dwarnings=-nowarn"
24+
25+
[tasks.test-all]
26+
description = "run all tests"
27+
run = "./mvnw verify"

0 commit comments

Comments
 (0)