Skip to content

wiringbits/scala-cli-multi-module-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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