Scala Skeleton Project
Skeleton project based on https://github.com/marconilanna/scala-boilerplate/
test:scalastyle sbt tasks are used to check source and test code with Scalastyle. The error list is saved to Checkstyle-compatible files
Scalastyle runs automatically against source and test code with the sbt
It is not recommended to make the
compile task dependent on Scalastyle. Since Scalastyle runs first and fails if the code does not compile, one would not get the Scala compiler error messages.
To execute tests with code coverage enabled run the following sbt tasks in order:
coverageReport. Coverage reports are saved to
To format source and test code run the
test:scalariformFormat sbt tasks.
Scalariform is provided as a convenience and starting point; it is not sufficient to be fully compliant with Originate's Scala Style Guide.