diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a17b19e1b7..324e0a5cc2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -184,6 +184,11 @@ target PR branch you can do so by setting the PR_TARGET_BRANCH environment varia PR_TARGET_BRANCH=origin/example sbt validatePullRequest ``` +If you have already run all tests and now just need to check that everything is formatted and or mima passes there +are a set of `all*` commands aliases for running `test:compile` (also formats), `mimaReportBinaryIssues`, and `validateCompile` +(compiles `multi-jvm` if enabled for that project). See `build.sbt` or use completion to find the most appropriate one +e.g. `allCluster`, `allTyped`. + ## Binary compatibility Binary compatibility rules and guarantees are described in depth in the [Binary Compatibility Rules diff --git a/build.sbt b/build.sbt index 1a2a336847..eddbb1a13c 100644 --- a/build.sbt +++ b/build.sbt @@ -514,9 +514,16 @@ def commandValue(p: Project, externalTest: Option[Project] = None) = { } addCommandAlias("allActor", commandValue(actor, Some(actorTests))) addCommandAlias("allRemote", commandValue(remote, Some(remoteTests))) -addCommandAlias("allCluster", commandValue(cluster)) +addCommandAlias("allClusterCore", commandValue(cluster)) +addCommandAlias("allClusterMetrics", commandValue(clusterMetrics)) addCommandAlias("allDistributedData", commandValue(distributedData)) addCommandAlias("allClusterSharding", commandValue(clusterSharding)) +addCommandAlias("allClusterTools", commandValue(clusterTools)) +addCommandAlias("allCluster", Seq( + commandValue(cluster), + commandValue(distributedData), + commandValue(clusterSharding), + commandValue(clusterTools)).mkString) addCommandAlias("allPersistence", commandValue(persistence)) addCommandAlias("allStream", commandValue(stream, Some(streamTests))) addCommandAlias("allDiscovery", commandValue(discovery))