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/stageDocker/stage- Builds a Dockerfile for Oni attarget/oni/docker/stagedoc- Build documentation, including API docs totarget/docs/sitecompilethenscalafmtAll- Will convert all syntax to new-style, indent based Scala 3.testrun all testsitPostgres/testoritSqlserver/testto 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