You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
.. _module-pw_module:
|
|
|
|
---------
|
|
pw_module
|
|
---------
|
|
The ``pw_module`` module contains tools for managing Pigweed modules.
|
|
For information on the structure of a Pigweed module, refer to
|
|
:ref:`docs-module-guides`.
|
|
|
|
Commands
|
|
--------
|
|
|
|
.. _module-pw_module-module-check:
|
|
|
|
``pw module-check``
|
|
^^^^^^^^^^^^^^^^^^^
|
|
The ``pw module-check`` command exists to ensure that your module conforms to
|
|
the Pigweed module norms.
|
|
|
|
For example, at time of writing ``pw module-check pw_module`` is not passing
|
|
its own lint:
|
|
|
|
.. code-block:: none
|
|
|
|
$ pw module-check pw_module
|
|
|
|
▒█████▄ █▓ ▄███▒ ▒█ ▒█ ░▓████▒ ░▓████▒ ▒▓████▄
|
|
▒█░ █░ ░█▒ ██▒ ▀█▒ ▒█░ █ ▒█ ▒█ ▀ ▒█ ▀ ▒█ ▀█▌
|
|
▒█▄▄▄█░ ░█▒ █▓░ ▄▄░ ▒█░ █ ▒█ ▒███ ▒███ ░█ █▌
|
|
▒█▀ ░█░ ▓█ █▓ ░█░ █ ▒█ ▒█ ▄ ▒█ ▄ ░█ ▄█▌
|
|
▒█ ░█░ ░▓███▀ ▒█▓▀▓█░ ░▓████▒ ░▓████▒ ▒▓████▀
|
|
|
|
20191205 17:05:19 INF Checking module: pw_module
|
|
20191205 17:05:19 ERR PWCK005: Missing ReST documentation; need at least e.g. "docs.rst"
|
|
20191205 17:05:19 ERR FAIL: Found errors when checking module pw_module
|
|
|
|
|