Development
Usage
This is a normal sbt project. You will need Docker installed to run the full test suite. Docker allows this project to start database servers for integration testing.
Useful SBT Commands
stage
- Builds a runnable project intarget/oni/universal/stage
Docker/stage
- Builds a Dockerfile for Oni attarget/oni/docker/stage
doc
- Build documentation, including API docs totarget/docs/site
compile
thenscalafmtAll
- Will convert all syntax to new-style, indent based Scala 3.test
run all testsitPostgres/test
oritSqlserver/test
to only run tests against one of the databases.itPostgres/testOnly <testname>
oritSqlserver/testOnly <testname>
to run a single test.
Notes
Documentation can be added as markdown files in oni/src/docs/_docs
and will be included automatically when you run scaladoc
.
In this article