Last active
February 21, 2019 21:03
-
-
Save marcoy/3a382f6f91bc00232ccad2b2a2288189 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use this with `amm -p Troops.sc` | |
interp.repositories() ++= List( | |
coursier.Cache.ivy2Cache | |
) | |
@ | |
interp.configureCompiler(_.settings.YpartialUnification.value = true) | |
interp.configureCompiler(_.settings.feature.value = true) | |
interp.configureCompiler(_.settings.unchecked.value = true) | |
interp.configureCompiler(_.settings.language.tryToSet(List("higherKinds", "postfixOps"))) | |
import $ivy.`com.gettroops::core:0.1266.0` | |
import $ivy.`com.gettroops::web:0.1266.0` | |
import $ivy.`com.chuusai::shapeless:2.3.3` | |
import $ivy.`com.github.julien-truffaut::monocle-core:1.5.0-cats` | |
import $ivy.`com.github.julien-truffaut::monocle-macro:1.5.0-cats` | |
import $plugin.$ivy.`org.spire-math::kind-projector:0.9.8` | |
import play.api._ | |
// import com.gettroops.web.TroopsApplicationLoader | |
import com.gettroops.core.db.slick.Tables | |
// import com.gettroops.core.db.slick.Tables.profile.api._ | |
// import slick.jdbc.JdbcBackend.DatabaseDef | |
import scala.concurrent.ExecutionContext.Implicits.global | |
val env = Environment(new java.io.File("."), this.getClass.getClassLoader, Mode.Dev) | |
// val context = ApplicationLoader.createContext(env) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment