Skip to content

Commit 157bd01

Browse files
committed
Update README.md for modern sbt syntax and Scala 3
- Fix sbt command syntax: change test:compile to 'Test / compile' - Add note about Scala 3 dialect and latest version recommendation - Ensure developer documentation matches current project configuration
1 parent 91baa8d commit 157bd01

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ msgpack-java uses [sbt](http://www.scala-sbt.org/) for building the projects. Fo
6666
Coding style
6767
* msgpack-java uses [the same coding style](https://github.com/airlift/codestyle) with Facebook Presto
6868
* [IntelliJ setting file](https://raw.githubusercontent.com/airlift/codestyle/master/IntelliJIdea14/Airlift.xml)
69+
* Scala test code uses Scalafmt with Scala 3 dialect (always use the latest Scala 3 version)
6970

7071
### Basic sbt commands
7172
Enter the sbt console:
@@ -76,7 +77,7 @@ $ ./sbt
7677
Here is a list of sbt commands for daily development:
7778
```
7879
> ~compile # Compile source codes
79-
> ~test:compile # Compile both source and test codes
80+
> ~"Test / compile" # Compile both source and test codes
8081
> ~test # Run tests upon source code change
8182
> ~testOnly *MessagePackTest # Run tests in the specified class
8283
> ~testOnly *MessagePackTest -- (pattern) # Run tests matching the pattern

0 commit comments

Comments
 (0)