Skip to content

Commit b8cb2bf

Browse files
committed
Update CLAUDE.md development workflow
- Fix typo in 'commit' - Add PR guidelines and common development tasks - Update native code build command to use 'make clean-native native'
1 parent 066b9af commit b8cb2bf

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

CLAUDE.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,19 @@ The project uses Docker-based cross-compilation toolchains (see `docker/` direct
9898
2. **Memory Safety**: Uses direct ByteBuffers for efficient memory operations - be aware of buffer boundaries
9999
3. **Thread Safety**: Snappy compression/decompression methods are thread-safe as they don't maintain state
100100
4. **OSGi Support**: The project includes OSGi bundle configuration in build.sbt
101-
5. **Compatibility**: Multiple stream formats are supported - ensure you use matching read/write formats (see compatibility matrix in README.md)
101+
5. **Compatibility**: Multiple stream formats are supported - ensure you use matching read/write formats (see compatibility matrix in README.md)
102+
103+
## Development Workflow
104+
105+
### Pull Request Guidelines
106+
- Use squashed commits when merging PRs to maintain clean commit history
107+
- Run tests before creating PR: `./sbt test`
108+
- Check code formatting: `./sbt scalafmtCheckAll`
109+
110+
### Common Development Tasks
111+
- When making changes to native code, rebuild with `make clean-native native`
112+
- For Java/Scala changes, use `./sbt ~test` for continuous testing
113+
- Always test on multiple JDK versions if possible (8, 11, 17, 21)
114+
115+
### Native Code Testing
116+
- Use make clean-native native for testing native code

0 commit comments

Comments
 (0)