Table of Contents

Quickstart 🔗

Get started quickly with Sharaf framework.

Mill 🔗

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

          

Sbt 🔗

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

          

Scala CLI 🔗

Create a file my_script.sc with the following content:

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

          

and then run it with:

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

          

Examples 🔗