Table of Contents

Quickstart 🔗

Get started quickly with Sharaf framework.

Mill 🔗

def ivyDeps = super.ivyDeps() ++ Agg(
    ivy"ba.sake::sharaf-undertow:0.11.1"
)
def scalacOptions = super.scalacOptions() ++ Seq("-Yretain-trees")

Sbt 🔗

libraryDependencies ++= Seq(
    "ba.sake" %% "sharaf-undertow" % "0.11.1"
),
scalacOptions ++= Seq("-Yretain-trees")

Scala CLI 🔗

Create a file my_script.sc with the following content:

//> using dep ba.sake::sharaf-undertow:0.11.1

and then run it with:

scala-cli my_script.sc --scala-option -Yretain-trees

Examples 🔗