Small tweaks to all command aliases (#26403)

* Small tweaks to all command aliases

* Adds other cluster all commands
* Makes allCluster do all cluster modules

* Update CONTRIBUTING.md

Co-Authored-By: chbatey <christopher.batey@gmail.com>
This commit is contained in:
Christopher Batey 2019-02-21 14:12:55 +00:00 committed by GitHub
parent 555fe026d0
commit baa9c52254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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))