summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rw-r--r--build.sbt8
-rw-r--r--project/plugins.sbt5
3 files changed, 17 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa607649..e0d9469f 100644
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,10 @@ ifneq (,$(RM_DIRS))
endif
scaladoc:
- $(SBT) $(SBT_FLAGS) doc test:doc
+ $(SBT) $(SBT_FLAGS) doc
+
+site:
+ $(SBT) $(SBT_FLAGS) make-site
# Start off clean, then run tests for all supported configurations, and publish those versions of the code.
# Then run coverage and style tests (for developer's use).
diff --git a/build.sbt b/build.sbt
index 0de7354a..e7278af8 100644
--- a/build.sbt
+++ b/build.sbt
@@ -9,3 +9,11 @@ scalaVersion := "2.11.6"
crossScalaVersions := Seq("2.10.4", "2.11.6")
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value
+
+site.settings
+
+site.includeScaladoc()
+
+ghpages.settings
+
+git.remoteRepo := "git@github.com:ucb-bar/chisel3.git"
diff --git a/project/plugins.sbt b/project/plugins.sbt
index 88384aaf..35e29bfd 100644
--- a/project/plugins.sbt
+++ b/project/plugins.sbt
@@ -2,9 +2,14 @@ resolvers += Resolver.url("scalasbt", new URL("http://scalasbt.artifactoryonline
resolvers += Classpaths.sbtPluginReleases
+resolvers += "jgit-repo" at "http://download.eclipse.org/jgit/maven"
+
addSbtPlugin("com.typesafe.sbt" % "sbt-pgp" % "0.8.3")
addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "0.7.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.1.0")
+addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.3")
+
+addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "0.8.1")