One more fix to release script.

* Ensure completion is appropriately cross versioned
* The publish launcher task should not try to publish
  the useless root project.
This commit is contained in:
Josh Suereth 2014-06-04 08:50:46 -04:00
parent e53acb673b
commit 6f28f08b78
1 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ object Sbt extends Build {
// Utilities related to reflection, managing Scala versions, and custom class loaders
lazy val classpathSub = testedBaseProject(utilPath / "classpath", "Classpath") dependsOn (launchInterfaceSub, interfaceSub, ioSub) settings (scalaCompiler)
// Command line-related utilities.
lazy val completeSub = testedBaseProject(utilPath / "complete", "Completion") dependsOn (collectionSub, controlSub, ioSub) settings (jline)
lazy val completeSub = testedBaseProject(utilPath / "complete", "Completion") dependsOn (collectionSub, controlSub, ioSub) settings (jline) settings (Util.crossBuild: _*)
// logging
lazy val logSub = testedBaseProject(utilPath / "log", "Logging") dependsOn (interfaceSub, processSub) settings (jline)
// Relation
@ -304,7 +304,7 @@ object Sbt extends Build {
moduleName := "sbt-launch",
autoScalaLibrary := false,
description := "sbt application launcher",
publishLauncher <<= publish,
publishLauncher <<= Release.deployLauncher,
packageBin in Compile <<= (proguard in Proguard, Transform.conscriptConfigs).map((x, y) => x)
)