Skip to content

Instantly share code, notes, and snippets.

@sumew
Created November 24, 2017 01:28
Show Gist options
  • Save sumew/a0c96f13b148e13864207aacd90455af to your computer and use it in GitHub Desktop.
Save sumew/a0c96f13b148e13864207aacd90455af to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
#
set -e
pushd "$(mktemp -dt akka)"
cat >build.sbt <<EOM
scalaVersion := "2.11.6"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.5.6",
"com.typesafe.akka" %% "akka-testkit" % "2.5.6" % Test
)
initialCommands :=
"""
|import akka.actor.{ Actor, Props, ActorSystem}
|val system = ActorSystem("akka-repl")
""".stripMargin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment