This commit is contained in:
parent
644050dc33
commit
ccb587209f
1 changed files with 3 additions and 3 deletions
|
|
@ -6,11 +6,11 @@ package akka
|
|||
import sbt._
|
||||
import sbt.Keys._
|
||||
import java.io.File
|
||||
import com.typesafe.sbt.site.SphinxSupport.{ generate, Sphinx }
|
||||
import com.typesafe.sbt.pgp.PgpKeys.publishSigned
|
||||
import sbtunidoc.Plugin.UnidocKeys._
|
||||
import com.lightbend.paradox.sbt.ParadoxKeys
|
||||
|
||||
object Release {
|
||||
object Release extends ParadoxKeys {
|
||||
val releaseDirectory = SettingKey[File]("release-directory")
|
||||
|
||||
lazy val settings: Seq[Setting[_]] = commandSettings ++ Seq(
|
||||
|
|
@ -29,7 +29,7 @@ object Release {
|
|||
val repo = extracted.get(Publish.defaultPublishTo)
|
||||
val state1 = extracted.runAggregated(publishSigned in projectRef, state)
|
||||
val (state2, Seq(api, japi)) = extracted.runTask(unidoc in Compile, state1)
|
||||
val (state3, docs) = extracted.runTask(generate in Sphinx, state2)
|
||||
val (state3, docs) = extracted.runTask(paradox in ProjectRef(projectRef.build, "akka-docs") in Compile, state2)
|
||||
|
||||
IO.delete(release)
|
||||
IO.createDirectory(release)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue