docspell/project/ElmCompileMode.scala

15 lines
317 B
Scala
Raw Normal View History

trait ElmCompileMode {
def flags: Seq[String]
}
object ElmCompileMode {
case object Production extends ElmCompileMode {
val flags = Seq("--optimize")
}
case object Debug extends ElmCompileMode {
val flags = Seq("--debug")
}
case object Dev extends ElmCompileMode {
val flags = Seq.empty
}
}