summaryrefslogtreecommitdiff
path: root/docs/markdown/Rewriter.md
AgeCommit message (Collapse)Author
2025-11-18rewriter: drop unused command-line arguments for def/kwargs deleteBenjamin Gilbert
The `default-options delete` and `kwargs delete` subcommands required key/value pairs, where the key was deleted and the specified value was ignored. This matches the JSON script mode interface but is unpleasant as a CLI. Have the CLI `delete` commands accept a list of keys instead. We can make this change because the UI is documented to be unstable. However, to allow scripts to work with both old and new Meson, ignore even-numbered arguments if they're all equal to the empty string. Fixes: #13234
2023-04-11fix various spelling issuesJosh Soref
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2021-12-15rewriter: create {add,rm}_extra_files commandsCeleste Wouters
Add ability to mutate a target's `extra_files` list through the rewriter. The logic is copied from sources add/rm, but changes the `extra_files` kwarg instead of the sources positional argument. Has additional logic to handle creating the `extra_files` list if it doesn't exist.
2021-01-31Capitalize "Meson" consistently as it is a proper name. [skip ci]Jussi Pakkanen
2021-01-30Rewrap long text lines in docs. [skip ci]Jussi Pakkanen
2021-01-12Allow '//' as project function id due to git bash path conversion.Luke Elliott
See https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path
2019-11-16docs: fix non-existent "meson rewriter" command in examples [skip ci]Marc Herbert
Probably dating back to the former mesonrewriter command? Fixes commit d4fe805a51d5 In some corner cases, "rewriter" could be mistaken as a positional argument.
2019-11-06Fix typos found by codespellWolfgang Stöggl
- Typos were found by codespell v1.16.0
2019-03-04rewriter: Require '/' for the project IDDaniel Mensinger
2019-03-04rewriter: Mark the CLI as experimentalDaniel Mensinger
2019-03-04rewriter: Mark the info output as experimentalDaniel Mensinger
2019-03-04rewriter: Document info operationDaniel Mensinger
2019-03-04rewriter: Handle duplicate targetDaniel Mensinger
2019-03-04rewriter: Updated docsDaniel Mensinger
2019-03-04rewriter: Remove command aliasDaniel Mensinger
2019-03-04rewriter: Renamed tgt_{add,rm} --> target_{add,rm}Daniel Mensinger
2019-03-04rewriter: Fixed docs.Daniel Mensinger
2019-03-04rewriter: Enforce an empty project ID stringDaniel Mensinger
2019-03-04rewriter: Added docsDaniel Mensinger