mirror of
https://github.com/micropython/micropython.git
synced 2026-01-04 19:20:22 +01:00
tools/ci.sh: Add --bash-completion option.
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
This commit is contained in:
committed by
Damien George
parent
293bb0e575
commit
70c4ffa770
@@ -306,6 +306,22 @@ As an example, you can build and test the unix minimal port with:
|
||||
|
||||
$ tools/ci.sh unix_minimal_build unix_minimal_run_tests
|
||||
|
||||
If you use the bash shell, you can add a ``ci`` command with tab completion:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ eval `tools/ci.sh --bash-completion`
|
||||
$ ci unix_cov<tab>
|
||||
|
||||
This will complete the ci step name to ``unix_coverage_``.
|
||||
Pressing tab a second time will show the list of matching steps:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ ci unix_coverage_<tab>
|
||||
unix_coverage_32bit_build
|
||||
unix_coverage_32bit_run_native_mpy_tests…
|
||||
|
||||
Folder structure
|
||||
----------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user