Skip to content

Releases: davenverse/crossplatformioapp

v0.1.0

30 Sep 15:26
30cd5bb
Compare
Choose a tag to compare

Initial Release.

There is an example project here which shows the additional configs necessary to get everything setup for use with fs2, etc, js-settings that are required to get an app fully running crossplaftorm.

Build.sbt

libraryDependencies ++= Seq(
  "io.chrisdavenport" %%% "crossplatformioapp" % "<version>"
)

Example Scala Code

import cats.effect._
import io.chrisdavenport.crossplatformioapp.CrossPlatformIOApp

object Main extends CrossPlatformIOApp.Simple {
  def run: IO[Unit] = IO.println("Hello world!")
}