Skip to content

help (-h option) inconsistent between build.sh and build.cmd #28617

@wfurt

Description

@wfurt

With Arcade changes out online documentation is often behind. It would be nice if at least build it self provides updated and accurate information.

C:\Users\toweinfu\corefx>build -?
build.ps1 [-ArchGroup <string>] [-Release] [-TargetGroup <string>] [-OSGroup <string>] [-BuildAllConfigurations] [-RuntimeOS <string>] [-OuterLoop] [-SkipTests] [-Restore] [-Clean] [-BuildTests] [-Test] [-Coverage] [-InitTools] [-ExtraArgs <string[]>] [<CommonParameters>]

but on Unix

macik2:wfurt-corefx furt$ ./build.sh -?
Invalid argument: -?
Common settings:
  --configuration <value>    Build configuration: 'Debug' or 'Release' (short: --c)
  --verbosity <value>        Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)
  --binaryLog                Create MSBuild binary log (short: -bl)

Actions:
  --restore                  Restore dependencies (short: -r)
  --build                    Build all projects (short: -b)
  --rebuild                  Rebuild all projects
  --test                     Run all unit tests (short: -t)
  --sign                     Sign build outputs
  --publish                  Publish artifacts (e.g. symbols)
  --pack                     Package build outputs into NuGet packages and Willow components
  --help                     Print help and exit (short: -h)

Advanced settings:
  --projects <value>       Project or solution file(s) to build
  --ci                     Set when running on CI server
  --prepareMachine         Prepare machine for CI run, clean up processes after build
  --nodeReuse <value>      Sets nodereuse msbuild parameter ('true' or 'false')
  --warnAsError <value>    Sets warnaserror msbuild parameter ('true' or 'false')

Command line arguments starting with '/p:' are passed through to MSBuild.

We are missing clean, OSGroup, ArchGroup, Outerloop and perhaps other useful options.

cc: @safern @ericstj

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions