docspell/project/ElmCompileMode.scala
2019-12-29 20:52:43 +01:00

15 lines
317 B
Scala

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
}
}