Skip to content

Commit d6a8dd6

Browse files
committed
Initial steps to aggregate presentations.
1 parent 7c3afb5 commit d6a8dd6

File tree

4 files changed

+40
-10
lines changed

4 files changed

+40
-10
lines changed

algebraic-data-types/build.sbt

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +0,0 @@
1-
resolvers +=
2-
Resolver.url(
3-
"tpolecat-sbt-plugin-releases",
4-
url("http://dl.bintray.com/content/tpolecat/sbt-plugin-releases")
5-
)(Resolver.ivyStylePatterns)
6-
7-
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.0")

build.sbt

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import com.typesafe.sbt.SbtSite.SiteKeys._
2+
import com.typesafe.sbt.SbtGhPages.GhPagesKeys._
3+
import sbtunidoc.Plugin.UnidocKeys._
4+
5+
val commonSettings = Seq(
6+
organization := "com.rodolfohansen",
7+
version := "0.1-SNAPSHOT",
8+
scalaVersion := "2.11.7",
9+
autoAPIMappings := true
10+
)
11+
12+
val presSettings = tutSettings ++ site.settings ++ Seq(
13+
site.addMappingsToSiteDir(tut, "tut"),
14+
watchSources <++= tutSourceDirectory map { path => (path ** "*.html").get },
15+
ghpagesNoJekyll := false,
16+
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md"
17+
)
18+
19+
lazy val adts = (project in file("algebraic-data-types")).
20+
settings(commonSettings: _*).
21+
settings(presSettings: _*).
22+
settings(name := "algebraic-data-types")
23+
24+
lazy val presentations = (project in file(".")).
25+
settings(commonSettings: _*).
26+
settings(unidocSettings: _*).
27+
settings(ghpages.settings: _*).
28+
settings(
29+
git.remoteRepo := "git@github.com:kryptt/presentations.git"
30+
).
31+
aggregate (adts)

project/plugins.sbt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
resolvers += "tpolecat-sbt-plugin-releases" at "http://dl.bintray.com/content/tpolecat/sbt-plugin-releases"
2+
3+
addSbtPlugin("org.tpolecat" % "tut-plugin" % "0.4.0")
4+
5+
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.3")
6+
7+
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.8.1")
8+
9+
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.3.3")

0 commit comments

Comments
 (0)