File tree Expand file tree Collapse file tree 4 files changed +40
-10
lines changed Expand file tree Collapse file tree 4 files changed +40
-10
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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" )
Original file line number Diff line number Diff line change
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)
Original file line number Diff line number Diff line change
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" )
You can’t perform that action at this time.
0 commit comments