docspell/project/ElmCompileMode.scala

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
317 B
Scala
Raw Permalink 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
}
}