Skip to content

Latest commit

 

History

History
27 lines (15 loc) · 543 Bytes

README.md

File metadata and controls

27 lines (15 loc) · 543 Bytes

scala-cli-multi-module-demo

Showcases a simple project using multiple modules with scala-cli.

Requirements

Run tests

  • scala-cli test common

Execute modules

  • scala-cli module-1/App.scala
  • scala-cli module-2/App.scala

Package modules

  • cd module-1 && ./package.sh
  • cd module-2 && ./package.sh

NOTE: package.sh is a shorthand for scala-cli --power package App.scala -f

Format code

  • scala-cli fmt