Closed
Description
- Combine the
-subset
and-subsetcategory
switches into just-subset
. This probably involves making subset names distinct which IMO is a good idea anyway as we should remove the sub repositories (another case of that is removing the helper scripts for coreclr, libraries, mono, installer). Specifying-subset libraries
should be sufficient to build all default subsets for libraries. No need for the extra-subsetcategory
verb. - Allow adding to the default set of subsets without the need to specify all of them, ie.
-subset libs+libs.tests
. - Allow removing from the default set of subsets without needing to specify all of them...
Moved proposal up
Proposal
You can specify multiple subsets. clr
, mono
, libs
and installer
imply the child subsets.
clr
clr.runtime
linuxdac
clr.corelib
clr.corelibnative
clr.tools
clr.packages
mono
mono.runtime
mono.corelib
mono.packages
libs
libs.native
libs.ref
libs.src
libs.pretest
libs.tests
libs.packages
installer
corehost
installer.managed
installer.depproj
installer.packages
bundles
installers
installer.tests
Examples
-
Build libraries and coreclr
build.cmd/sh libs+clr
-
Build libraries tests:
build.cmd/sh libs.tests
-
Build mono corelib and libraries
build.cmd/sh mono.corelib+libs
-
Build libraries tests and installer tests
build.cmd/sh installer.tests+libs.tests
-
Build coreclr, libraries and libraries tests
build.cmd/sh clr libs+libs.tests
cc @dotnet/runtime-infrastructure @jkotas @danmosemsft @stephentoub