This is a Scala project implementing a lightweight event streaming library.
src/main/scala/io/github/makingthematrix/signals3/: Core implementationsrc/test/scala/io/github/makingthematrix/signals3/: Unit tests
- Clone the repository:
git clone https://github.com/makingthematrix/signals3.git. - Run tests:
sbt test. - Run the project:
sbt run.
- Use Scala 3 with braces syntax.
- Create a new branch for each feature or bug fix.
- Use
feature/xxxfor new features. - Use
bugfix/xxxfor bug fixes. - Commit changes with
git commit -am "[MESSAGE]" - Push changes to the branch with
git push - Don't merge the branch to the main branch directly.
- Read Scaladoc comments attached to every class and method.
- Always run
sbt testbefore committing. - Do not modify files in
target/. - Prefer functional programming patterns.
- Avoid modifying the
build.sbtfile unless necessary. - Use
sbtfor all build tasks. - Some unit tests deal with concurrency and can be flaky. If a unit test that is not directly related to the feature you work on fails, rerun it (but only once).
- Maintainer: @makingthematrix