forked from scala-austin/scala-austin-meetups
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (27 loc) · 1018 Bytes
/
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
import com.typesafe.sbt.SbtSite.SiteKeys._
import com.typesafe.sbt.SbtGhPages.GhPagesKeys._
import sbtunidoc.Plugin.UnidocKeys._
val commonSettings = Seq(
organization := "com.rodolfohansen",
version := "0.1-SNAPSHOT",
scalaVersion := "2.11.7",
autoAPIMappings := true
)
val presSettings = tutSettings ++ site.settings ++ Seq(
site.addMappingsToSiteDir(tut, "tut"),
watchSources <++= tutSourceDirectory map { path => (path ** "*.html").get },
ghpagesNoJekyll := false,
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md"
)
lazy val adts = (project in file("algebraic-data-types")).
settings(commonSettings: _*).
settings(presSettings: _*).
settings(name := "algebraic-data-types")
lazy val presentations = (project in file(".")).
settings(commonSettings: _*).
settings(unidocSettings: _*).
settings(ghpages.settings: _*).
settings(
git.remoteRepo := "[email protected]:kryptt/presentations.git"
).
aggregate (adts)