зеркало из https://github.com/mozilla/gecko-dev.git
4c107f8236
Behavior changes: - instead of reading the mozconfig file, it now instantiates an instance of the build object. - safe checking methods are used to access attributes to prevent errors on automation environment. - better mach command parsing is performed with handler category instead of error-prone argv parsing. Other changes: - docstring for testing/xpcshell/runxpcshelltests.py::buildTestList() added and modernized. - added clause that if length of tests gathered is 0, mach exits with an error code of 1. Differential Revision: https://phabricator.services.mozilla.com/D7133 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
docs | ||
mach | ||
README.rst | ||
bash-completion.sh | ||
setup.py |
README.rst
==== mach ==== Mach (German for *do*) is a generic command dispatcher for the command line. To use mach, you install the mach core (a Python package), create an executable *driver* script (named whatever you want), and write mach commands. When the *driver* is executed, mach dispatches to the requested command handler automatically. To learn more, read the docs in ``docs/``.