Add scalafmt.conf and elm compile options

This commit is contained in:
Eike Kettner
2019-12-29 20:52:43 +01:00
parent a9e70401de
commit 546f1a6ee3
6 changed files with 53 additions and 11 deletions

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

View File

@ -1,7 +1,11 @@
addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % "0.5.0")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.5.2")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.9.2")
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
addSbtPlugin("com.github.eikek" % "sbt-openapi-schema" % "0.5.0")
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.12")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "2.0.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.5.2")
addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.0.3")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.3.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8.1")