From 520b6f08cc06b7ef54a4334878b75b589b80b203 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Mon, 5 Nov 2012 11:22:47 +0100 Subject: improve doc options --- build.sbt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/build.sbt b/build.sbt index 25a7c4d..e41647e 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,7 @@ name := "scalam" +organization := "com.github.jodersky" + version := "1.0-SNAPSHOT" scalaVersion := "2.10.0-RC1" @@ -16,3 +18,13 @@ libraryDependencies += "com.jsuereth" % "scala-arm_2.10.0-RC1" % "1.2" scalacOptions ++= Seq("-deprecation","-feature") +scalacOptions in Compile in doc ++= Seq("-diagrams", "-implicits") + +scalacOptions in Compile in doc <++= baseDirectory.map { + (bd: File) => Seq( + "-sourcepath", + bd.getAbsolutePath, + "-doc-source-url", + "https://github.com/jodersky/scalam/tree/2.10€{FILE_PATH}.scala" + ) +} -- cgit v1.2.3