mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
15 lines
317 B
Scala
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
|
|
}
|
|
}
|