diff options
author | Joris | 2019-05-16 09:40:02 +0200 |
---|---|---|
committer | Joris | 2019-05-16 09:40:02 +0200 |
commit | 7bf58894761742d4da8e6f52ce113ea7327e7114 (patch) | |
tree | 388785f65e258e956296977cff4bd1f7ac6e1526 /build.sc | |
parent | f015a216f5ee1e335d5ae90dbc8f3efafdca6fec (diff) |
Bootstrap
Diffstat (limited to 'build.sc')
-rw-r--r-- | build.sc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/build.sc b/build.sc new file mode 100644 index 0000000..b136a5f --- /dev/null +++ b/build.sc @@ -0,0 +1,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" + ) + +} |