aboutsummaryrefslogtreecommitdiff
path: root/build.sc
blob: b136a5fc533cfe3b45b8f1e75b03a567feb23b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import mill._, scalalib._, scalafmt._, scalajslib._

object client extends ScalaJSModule with ScalafmtModule {

  def scalaVersion = "2.12.6"

  def scalaJSVersion = "0.6.26"

  def scalaOptions = Seq(
    "-deprecation",
    "-encoding",
    "utf-8",
    "-explaintypes",
    "-feature",
    "-language:existentials",
    "-language:experimental.macros",
    "-language:higherKinds",
    "-language:implicitConversions",
    "-unchecked",
    "-Xcheckinit",
    "-Xfatal-warnings",
    "-Xfuture",
    "-Xlint",
    "-Yno-adapted-args",
    "-Ypartial-unification",
    "-Ywarn-dead-code",
    "-Ywarn-extra-implicit",
    "-Ywarn-inaccessible",
    "-Ywarn-infer-any",
    "-Ywarn-nullary-override",
    "-Ywarn-nullary-unit",
    "-Ywarn-numeric-widen",
    "-Ywarn-unused",
    "-Ywarn-value-discard"
  )

  def ivyDeps = Agg(
    ivy"org.scala-js::scalajs-dom::0.9.6",
    ivy"in.nvilla::monadic-html::0.4.0-RC1",
    ivy"com.beachape::enumeratum::1.5.13"
  )

}