diff options
Diffstat (limited to 'project/Site.scala')
-rw-r--r-- | project/Site.scala | 18 |
1 files changed, 0 insertions, 18 deletions
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 |