Skip to content

Commit 575b7a4

Browse files
nakamura-toclaude
andcommitted
Update CLAUDE.md with improved command documentation
Clarified build and test commands to reflect the consolidated project structure. Simplified test execution instructions and fixed directory references for publishing commands. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent df445f8 commit 575b7a4

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

CLAUDE.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,14 @@ The Doma Compile Plugin is a Gradle plugin that allows annotation processors to
1010

1111
### Building the Plugin
1212
```bash
13-
./gradlew build
13+
cd compile && ./gradlew build && cd ..
1414
```
1515

1616
### Running Tests
17-
The plugin has three test suites that must be run in sequence:
17+
The plugin has three test suites:
1818
```bash
19-
# Build the plugin first
19+
# Build the all test projects
2020
./gradlew build
21-
22-
# Test with Java
23-
cd compile-java-test && ./gradlew build && cd ..
24-
25-
# Test with Kotlin
26-
cd compile-kotlin-test && ./gradlew build && cd ..
27-
28-
# Test with mixed Java/Kotlin
29-
cd compile-mix-test && ./gradlew build && cd ..
3021
```
3122

3223
### Code Formatting
@@ -37,17 +28,17 @@ cd compile-mix-test && ./gradlew build && cd ..
3728

3829
### Running a Single Test
3930
```bash
40-
# In any test directory (compile-java-test, compile-kotlin-test, or compile-mix-test)
41-
./gradlew test --tests "example.GenerationTest"
31+
# With any test project (compile-java-test, compile-kotlin-test, or compile-mix-test)
32+
./gradlew :compile-java-test:test --tests "example.GenerationTest"
4233
```
4334

4435
### Publishing (for maintainers)
4536
```bash
4637
# Release a new version (from master branch only)
47-
./gradlew release
38+
cd compile && ./gradlew release && cd ..
4839

4940
# Publish to Gradle Plugin Portal (handled by CI for non-SNAPSHOT versions)
50-
./gradlew publishPlugins -Pgradle.publish.key=<key> -Pgradle.publish.secret=<secret>
41+
cd compile && ./gradlew publishPlugins -Pgradle.publish.key=<key> -Pgradle.publish.secret=<secret> && cd..
5142
```
5243

5344
## Architecture

0 commit comments

Comments
 (0)