aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2014-06-11 23:05:19 -0300
committerIvan Topolnjak <ivantopo@gmail.com>2014-06-11 23:05:19 -0300
commit63ad026b7af5e9e94471ab38cd2663e8f69d87ac (patch)
tree7ee8978500781a8d1c2be58b6f6eb946fc0c61c2 /project
parente7dbbfbffaa99bc1642ab6b01927540cabc8161f (diff)
downloadKamon-63ad026b7af5e9e94471ab38cd2663e8f69d87ac.tar.gz
Kamon-63ad026b7af5e9e94471ab38cd2663e8f69d87ac.tar.bz2
Kamon-63ad026b7af5e9e94471ab38cd2663e8f69d87ac.zip
- site: remove the site from this repository
Diffstat (limited to 'project')
-rw-r--r--project/Projects.scala14
-rw-r--r--project/Site.scala18
2 files changed, 1 insertions, 31 deletions
diff --git a/project/Projects.scala b/project/Projects.scala
index f51cada6..eb025a38 100644
--- a/project/Projects.scala
+++ b/project/Projects.scala
@@ -4,11 +4,10 @@ import Keys._
object Projects extends Build {
import AspectJ._
import Settings._
- import Site._
import Dependencies._
lazy val root = Project("root", file("."))
- .aggregate(kamonCore, kamonSpray, kamonNewrelic, kamonPlayground, kamonDashboard, kamonTestkit, kamonPlay, kamonStatsd, site)
+ .aggregate(kamonCore, kamonSpray, kamonNewrelic, kamonPlayground, kamonDashboard, kamonTestkit, kamonPlay, kamonStatsd)
.settings(basicSettings: _*)
.settings(formatSettings: _*)
.settings(noPublishing: _*)
@@ -89,17 +88,6 @@ object Projects extends Build {
.settings(libraryDependencies ++= compile(akkaActor) ++ test(scalatest, akkaTestKit, slf4Api, slf4nop))
.dependsOn(kamonCore)
- lazy val site = Project("site", file("site"))
- .settings(basicSettings: _*)
- .settings(siteSettings: _*)
- .settings(aspectJSettings: _*)
- .settings(noPublishing: _*)
- .dependsOn(kamonCore)
- .settings(
- libraryDependencies ++=
- compile(akkaSlf4j, logback) ++
- test(scalatest, akkaTestKit))
-
val noPublishing = Seq(publish := (), publishLocal := (), publishArtifact := false)
}
diff --git a/project/Site.scala b/project/Site.scala
deleted file mode 100644
index cf34353b..00000000
--- a/project/Site.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-import sbt._
-import sbt.Keys._
-
-object Site {
- val serveSite = taskKey[Unit]("Start a embedded web server with access to the site.")
- val jekyllSource = settingKey[File]("Location of jekyll sources.")
-
- val siteSettings = Seq(
- jekyllSource := sourceDirectory.value / "main" / "jekyll",
- serveSite := {
- val command = "jekyll serve --watch --trace --detach" +
- " --source " + jekyllSource.value.absolutePath +
- " --destination " + (target.value / "_site").absolutePath
-
- sbt.Process(command, jekyllSource.value, ("LC_ALL", "en_US.UTF-8")).run
- }
- )
-} \ No newline at end of file