Visitar URL original
Upgrade Scala to 3.7.1 and use Scala 3 code format style by xerial 路 Pull Request #899 路 msgpack/msgpack-java 路 GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update CLAUDE.md for Scala 3.7.1 and modern sbt syntax
- Fix build command to use modern sbt syntax: Test / compile instead of test:compile
- Update Scala version reference to 3.7.1 in testing structure
- Update scalafmt configuration notes to reflect Scala 3 dialect and 100 char limit
  • Loading branch information
xerial committed Jul 19, 2025
commit d35bcd53fb54f905e947153f26d34fd8b865d31b
6 changes: 3 additions & 3 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ MessagePack-Java is a binary serialization library that provides a fast and comp
### Build and Compile
```bash
./sbt compile # Compile source code
./sbt test:compile # Compile source and test code
./sbt "Test / compile" # Compile source and test code
./sbt package # Create JAR files
```

Expand Down Expand Up @@ -66,7 +66,7 @@ The msgpack-jackson module provides:
- Extension type support including timestamps

### Testing Structure
- **msgpack-core tests**: Written in Scala using AirSpec framework
- **msgpack-core tests**: Written in Scala 3.7.1 using AirSpec framework
- Location: `msgpack-core/src/test/scala/`
- **msgpack-jackson tests**: Written in Java using JUnit
- Location: `msgpack-jackson/src/test/java/`
Expand All @@ -81,7 +81,7 @@ For JDK 17+ compatibility, these options are automatically added:

## Code Style Requirements
- Java code follows Facebook Presto style (enforced by checkstyle)
- Scala test code uses Scalafmt with 180 character line limit
- Scala test code uses Scalafmt with Scala 3 dialect and 100 character line limit
- Checkstyle runs automatically during compilation
- No external dependencies allowed in msgpack-core

Expand Down