forked from tixxit/delimited
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
41 lines (30 loc) · 1.24 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
organization in ThisBuild := "net.tixxit"
licenses in ThisBuild += ("BSD-style" -> url("http://opensource.org/licenses/MIT"))
scalaVersion in ThisBuild := "2.11.12"
crossScalaVersions in ThisBuild := Seq("2.10.6", "2.11.12", "2.12.6")
scalacOptions in ThisBuild ++= Seq("-deprecation", "-feature", "-unchecked", "-language:higherKinds")
maxErrors in ThisBuild := 5
addCommandAlias("publishDocs", ";unidoc;ghpagesPushSite")
import com.typesafe.sbt.site.SitePlugin.autoImport._
lazy val root = project.
in(file(".")).
aggregate(delimitedCore, delimitedIteratee).
enablePlugins(GhpagesPlugin, ScalaUnidocPlugin, SiteScaladocPlugin).
settings(Publish.skip: _*).
settings(
name := "delimited",
addMappingsToSiteDir(mappings in (ScalaUnidoc, packageDoc), siteSubdirName in SiteScaladoc),
autoAPIMappings := true,
git.remoteRepo := "[email protected]:tixxit/delimited.git"
)
lazy val delimitedCore = project.
in(file("delimited-core")).
settings(Publish.settings: _*)
lazy val delimitedIteratee = project.
in(file("delimited-iteratee")).
dependsOn(delimitedCore).
settings(Publish.settings: _*)
lazy val delimitedBenchmark = project.
in(file("delimited-benchmark")).
dependsOn(delimitedCore).
settings(Publish.skip: _*)