mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 09:58:26 +00:00
Add scalafmt.conf and elm compile options
This commit is contained in:
14
project/ElmCompileMode.scala
Normal file
14
project/ElmCompileMode.scala
Normal file
@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user