Luke Elliott
99fadccd29
completions: bash: add a bunch of missing completion options
1 year ago
Luke Elliott
2c22311737
completions: bash: don't show json errors when completing "meson test".
...
E.g. "meson test<tab>"
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
1 year ago
Luke Elliott
df24e36a62
completions: bash: added "compile" (and "help") completion.
1 year ago
Luke Elliott
7e3f419c7a
completions: bash: fix -x<tab>.
...
If x was a known short option, would complete to "-". If unknown, "--".
1 year ago
Luke Elliott
6a62d49122
completions: bash: added a bunch of missing completion options.
1 year ago
Josh Soref
0551a8847d
zsh: fix help / descriptions
...
* --load-average
* --gdb-path
* description for install
Found by https://www.check-spelling.dev/
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2 years ago
Liam Beguin
020e16a2b5
completions: bash: add simple init competion
...
Populate the _meson-init() completion function.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2 years ago
Liam Beguin
3f86f19f95
completions: bash: define sub-commands as an array
...
Define subcommands as an array so that they can be reused for the
top-level sub-command completion.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2 years ago
Liam Beguin
24e97e1945
completions: bash: update meson sub-command list
...
Add all meson sub-commands to the autocompletion script.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2 years ago
Liam Beguin
f08c788f61
completions: bash: add missing functions
...
Add empty functions for all commands defined in the autocompletion script.
When these functions are not defined, bash raises the following error:
$ meson init <TAB>-bash: _meson-init: command not found
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2 years ago
Liam Beguin
ebe14848e0
completions: bash: order function definitions like in help
...
Move _meson-introspect() to follow the command list defined at the top
of the script which follows the help message order.
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
2 years ago
andy5995
b1e6cc5553
implement 'dist --allow-dirty' flag
...
closes #9824
3 years ago
Christian Clauss
a5020857f3
Fix typos discovered by codespell
3 years ago
Eli Schwartz
59d4f771d2
editorconfig: add setting to trim trailing whitespace
...
and clean up all outstanding issues
Skip 'test cases/common/141 special characters/meson.build' since it
intentionally uses trailing newlines.
3 years ago
Antonin Décimo
39ede12aa5
Fix misspells
...
Signed-off-by: Antonin Décimo <antonin.decimo@gmail.com>
4 years ago
Dylan Baker
1b63dcc531
zsh: Add completions for meson compile
4 years ago
Dylan Baker
9f893384db
zsh: add completions for subprojects
4 years ago
Dylan Baker
3afaa879ec
zsh: add wrap completions
...
This is still missing completions for promote, but I can't figure out
how to find the wraps in subprojects that are not in the parent project
when those projects haven't been fetched yet.
4 years ago
Dylan Baker
f0db3d3750
zsh: add missing arguments to meson test completions
...
This also reorders the options internally to match the output of meson
test --help, which makes it easier to diff
4 years ago
Dylan Baker
c6f7588afa
zsh: Add completions for meson init
4 years ago
Dylan Baker
a137cd0bfb
zsh: Add completions for meson install
4 years ago
Dylan Baker
80af160036
zsh: add meson dist completions
4 years ago
Dylan Baker
ecefe45f8e
zsh: Add ability to complete depedency paths
...
using , separated syntax
4 years ago
Dylan Baker
670bc63fda
zsh: add missing options for meson introspect
4 years ago
Dylan Baker
f2572ea077
zsh: share common options between meson configure and meson setup
4 years ago
Dylan Baker
84d5233b5f
zsh: Add missing options for meson setup
4 years ago
Dylan Baker
250c4463b4
zsh: remove binaries that are not longer installed
4 years ago
Dylan Baker
a65ef70b7d
completions/zsh: Add --native-file
...
Which is missing
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Eric Engestrom
b5cc01ccd9
bash/zsh: drop completion for deprecated command
6 years ago
Eric Engestrom
75f436542c
zsh: complete targets
6 years ago
Eric Engestrom
1b873d62f8
add Bash completion script
6 years ago
Mathieu Duponchelle
31f0242a6f
new wrap-mode: forcefallback
...
This can be useful to make sure that a project builds when
its fallbacks are used on systems where external dependencies
satisfy the version requirements, or to easily hack on the sources
of a dependency for which a fallback exists.
7 years ago
Arseny Maslennikov
8e04ab7cf2
_meson: Explicitly specify license to match the Z Shell
...
The zsh completion script is explicitly licensed to eliminate
any legal obstacles for its co-distribution with Z Shell itself.
7 years ago
Arseny Maslennikov
abbf2f4fab
Move shell completions and text editor helpers to data/
7 years ago