scalalab3 / logs-service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logs-service

Gitter Build Status

Tasks description here.

Base modules structure

  • common_macro
  • common
  • parser
  • storage
  • tests

How to switch modules in development

If you want to work on specific module (eg. storage), you have to run project command:

> project storage
 [info] Set current project to core (in build file:logs-service/)

After that all commands (test, compile, etc) will be ran only for that module.

Testing

You can see some example tests in tests/src/test/scala/com/github/scalalab3/logs/tests/

Consult with structure doc and matchers doc to write matchers.

To run all tests ensure that you're in project main.

~test will run watcher that execute test after each change in source code.

Build jar and run

$ sbt main/assembly
$ java -jar target/scala-2.11/main-assembly-0.0.1.jar

Or just run ./run.sh in project root directory

About


Languages

Language:Scala 98.0%Language:HTML 1.8%Language:Shell 0.1%