-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
48 lines (39 loc) · 1.07 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
val commonSettings = Seq(
version := "0.1",
scalaVersion := "2.13.1",
organization := "ch.redelmann",
)
lazy val eclair = project
.in(file("."))
.settings(
commonSettings,
name := "eclair",
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked"
),
Compile / doc / scalacOptions ++= Seq(
"-groups",
"-sourcepath", baseDirectory.value.getAbsolutePath,
"-doc-source-url", "https://raw.githubusercontent.com/redelmann/eclair/master€{FILE_PATH}.scala",
"-doc-root-content", baseDirectory.value + "/project/root-doc.txt"
),
target in Compile in doc := baseDirectory.value / "docs",
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.0.8" % "test",
),
)
lazy val example = project
.in(file("example"))
.settings(
commonSettings,
name := "eclair-examples",
scalaSource in Compile := baseDirectory.value,
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-unchecked"
),
)
.dependsOn(eclair)