This is a Scala project for the blog article about Scala APIs.
It provides a sample API using the Caliban library.
This will clean the compilation files (*.class) from the project:
sbt clean
The following command with format all the Scala files (*.scala) according to the scala format file provided in the project (.scalafmt.conf)
sbt fmt
The following command will compile the main project files:
sbt compile
This will execute all the tests in the project:
sbt test
The sbt check
command will execute the following steps:
- Clean all compilation files (*.class)
- Format all project files
- Compile all project files (including test classes)
- Execute all the tests
sbt check