All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.build.options.ReplOptions.scala Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package scala.build.options

import scala.build.internal.Constants

final case class ReplOptions(
  useAmmoniteOpt: Option[Boolean] = None,
  ammoniteVersionOpt: Option[String] = None,
  ammoniteArgs: Seq[String] = Nil
) {
  def useAmmonite: Boolean =
    useAmmoniteOpt.getOrElse(false)
  def ammoniteVersion: String =
    ammoniteVersionOpt.getOrElse(Constants.ammoniteVersion)
}

object ReplOptions {
  implicit val monoid: ConfigMonoid[ReplOptions] = ConfigMonoid.derive
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy