=pro #17855 dont publish benchmarks or tests, fix license in bench

This commit is contained in:
Konrad Malawski 2015-07-01 12:19:20 +02:00
parent c1720959c0
commit 140c4dcdce
6 changed files with 22 additions and 5 deletions

View file

@ -7,3 +7,5 @@ Formatting.formatSettings
publishArtifact in Compile := false
Dependencies.actorTests
AkkaBuild.dontPublishSettings

View file

@ -1,2 +1,9 @@
import akka._
import com.typesafe.sbt.pgp.PgpKeys.publishSigned
enablePlugins(JmhPlugin)
disablePlugins(Unidoc)
AkkaBuild.defaultSettings
AkkaBuild.dontPublishSettings

View file

@ -21,10 +21,10 @@ SphinxDoc.docsSettings
Dependencies.docs
publishArtifact in Compile := false
unmanagedSourceDirectories in ScalariformKeys.format in Test <<= unmanagedSourceDirectories in Test
MimaKeys.reportBinaryIssues := () // disable bin comp check
additionalTasks in ValidatePR += generate in Sphinx
AkkaBuild.dontPublishSettings

View file

@ -16,3 +16,5 @@ publishArtifact in Compile := false
MimaKeys.reportBinaryIssues := () // disable bin comp check
enablePlugins(MultiNodeScalaTest)
AkkaBuild.dontPublishSettings

View file

@ -13,6 +13,7 @@ import akka.TestExtras.JUnitFileReporting
import akka.TestExtras.StatsDMetrics
import com.typesafe.sbt.S3Plugin.S3
import com.typesafe.sbt.S3Plugin.s3Settings
import com.typesafe.sbt.pgp.PgpKeys.publishSigned
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
import sbt.Keys._
import sbt._
@ -253,7 +254,12 @@ object AkkaBuild extends Build {
}
executeMvnCommands("Osgi sample Dining hakkers test failed", "clean", "install")
}}
)
) ++ dontPublishSettings
)
val dontPublishSettings = Seq(
publishSigned := (),
publish := ()
)
override lazy val settings =
@ -268,7 +274,7 @@ object AkkaBuild extends Build {
lazy val parentSettings = baseSettings ++ Seq(
publishArtifact := false
)
) ++ dontPublishSettings
lazy val experimentalSettings = Seq(
description := """|This module of Akka is marked as

View file

@ -194,7 +194,7 @@ function get_current_branch {
# get the current project version from sbt
# a little messy as the ansi escape codes are included
function get_current_version {
local result=$(sbt version | tail -1 | cut -f2)
local result=$(sbt version | grep -v warn | tail -1 | cut -f2)
# remove ansi escape code from end
local code0=$(echo -e "\033[0m")
echo ${result%$code0}