A thin wrapper to Scala CLI to add multimodule support to the command line, also an MVP for https://github.com/virtuslab/scala-compose
- full stack app with Scala.js front-end and JVM/Native/Node.js server
- Scala CLI 1.0.0-RC2 (as long as
export --json
to std-out subcommand is supported)
on macOS/Linux
- add
~/.local/bin
to thePATH
- package
scala-builder
command with
scala --power package -f -o ~/.local/bin/scala-builder --workspace . modules/scala-builder
cd examples/1-full-stack-app
scala-builder run webserver
, use optional--debug
flag for verbose output (like the task graph)
This is a Scala CLI project, meaning that before working on any of the modules, you should initialise Scala CLI for the module you wish to work on (currently there is only one).
For VS Code + Metals extension, run the following command at the root of this repository
scala setup-ide --workspace . modules/scala-builder
then when opening any scala file from modules/scala-builder
, Metals will activate and correctly type the code.