-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.sbt
52 lines (43 loc) · 1.28 KB
/
build.sbt
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
44
45
46
47
48
49
50
51
52
import org.scalajs.core.tools.linker.standard._
name := "scalafmt-probot"
organization := "laughedelic"
description := ""
homepage := Some(url(s"https://github.com/${organization.value}/${name.value}"))
ThisBuild/scmInfo := Some(ScmInfo(
homepage.value.get,
s"scm:git:git@github.com:${organization.value}/${name.value}.git"
))
licenses := Seq("MPL-2.0" -> url("https://www.mozilla.org/en-US/MPL/2.0"))
developers := List(Developer(
"laughedelic",
"Alexey Alekhin",
"laughedelic@gmail.com",
url("https://github.com/laughedelic")
))
scalaVersion := "2.12.6"
scalacOptions ++= Seq(
"-Yrangepos",
"-P:scalajs:sjsDefinedByDefault",
"-language:implicitConversions",
"-deprecation",
"-feature",
"-Xlint"
)
enablePlugins(ScalaJSPlugin)
resolvers += Resolver.bintrayRepo("laughedelic", "maven")
libraryDependencies ++= Seq(
"laughedelic" %%% "scalajs-probot" % "12609435",
"com.geirsson" %%% "scalafmt-core" % "1.6.0-RC1",
"org.scala-lang.modules" %% "scala-async" % "0.9.7",
)
scalaJSUseMainModuleInitializer := true
scalaJSLinkerConfig ~= { conf =>
conf
.withModuleKind(ModuleKind.CommonJSModule)
.withOutputMode(OutputMode.ECMAScript2015)
}
enablePlugins(ScalaJSBundlerPlugin)
Compile/npmDependencies ++= Seq(
"probot" -> "next",
"smee-client" -> "^1.0.1",
)