Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (18 sloc) 0.615 kb
import sbt._
import Keys._
import com.typesafe.packager.Keys._
import sbt.Keys._
import com.typesafe.packager.PackagerPlugin._
import collection.mutable.ArrayBuffer
object BashCompletion {
def makeProject(root: Project, distDir: TaskKey[File]) = (
Project("bash-completion", file("bash-completion"))
settings(
scalaInstance <<= (distDir in root, appConfiguration) map { (dir, app) =>
val launcher = app.provider.scalaProvider.launcher
ScalaInstance(dir, launcher)
},
unmanagedJars in Compile <+= distDir in root map (_ / "lib/scala-compiler.jar")
)
)
}
Jump to Line
Something went wrong with that request. Please try again.