Skip to content

Commit 9df1e4f

Browse files
committed
i hate bash, again
1 parent eb037a7 commit 9df1e4f

File tree

7 files changed

+56
-331
lines changed

7 files changed

+56
-331
lines changed

AGENTS.md

Lines changed: 47 additions & 124 deletions
Large diffs are not rendered by default.

CODING_STYLE_LLM.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ Here is an example of the correct format for documentation comments:
102102

103103
- **Check Compiles**: Focusing on the correct mvn module run without verbose logging and do not grep the output to see compile errors:
104104
```bash
105-
./mvn-test-no-boilerplate.sh -pl json-java21-api-tracker -Djava.util.logging.ConsoleHandler.level=SEVERE
105+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-api-tracker -Djava.util.logging.ConsoleHandler.level=SEVERE
106106
```
107107
- **Debug with Verbose Logs**: Use `-Dtest=` to focus on just one or two test methods, or one class, using more logging to debug the code:
108108
```bash
109-
./mvn-test-no-boilerplate.sh -pl json-java21-api-tracker -Dtest=XXX -Djava.util.logging.ConsoleHandler.level=FINER
109+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-api-tracker -Dtest=XXX -Djava.util.logging.ConsoleHandler.level=FINER
110110
```
111111
- **No Grep Filtering**: Use logging levels to filter output, do not grep the output for compile errors, just run less test methods with the correct logging to reduce the output to a manageable size. Filtering hides problems and needs more test excution to find the same problems which wastes time.
112112

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,13 @@ The validator now provides defensible compatibility statistics:
112112

113113
```bash
114114
# Run with console metrics (default)
115-
./mvn-test-no-boilerplate.sh -pl json-java21-schema
115+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-schema
116116

117117
# Export detailed JSON metrics
118-
./mvn-test-no-boilerplate.sh -pl json-java21-schema -Djson.schema.metrics=json
118+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-schema -Djson.schema.metrics=json
119119

120120
# Export CSV metrics for analysis
121-
./mvn-test-no-boilerplate.sh -pl json-java21-schema -Djson.schema.metrics=csv
121+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-schema -Djson.schema.metrics=csv
122122
```
123123

124124
**Current measured compatibility**:

json-compatibility-suite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<executions>
5656
<execution>
5757
<id>download-json-test-suite</id>
58-
<phase>generate-test-resources</phase>
58+
<phase>pre-integration-test</phase>
5959
<goals>
6060
<goal>wget</goal>
6161
</goals>

json-java21-schema/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ How to run
3333

3434
```bash
3535
# Run unit + integration tests (includes official suite)
36-
./mvn-test-no-boilerplate.sh -pl json-java21-schema
36+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-schema
3737

3838
# Strict mode
39-
./mvn-test-no-boilerplate.sh -pl json-java21-schema -Djson.schema.strict=true
39+
$(command -v mvnd || command -v mvn || command -v ./mvnw) -pl json-java21-schema -Djson.schema.strict=true
4040
```
4141

4242
OpenRPC validation

json-java21-schema/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<executions>
9898
<execution>
9999
<id>fetch-json-schema-suite</id>
100-
<phase>generate-test-resources</phase>
100+
<phase>pre-integration-test</phase>
101101
<goals>
102102
<goal>run</goal>
103103
</goals>

mvn-test-no-boilerplate.sh

Lines changed: 0 additions & 198 deletions
This file was deleted.

0 commit comments

Comments
 (0)