summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/subproject-foreach.md
blob: 3a8ffc4be6753e3bdab6c2a189c9e6551b5ef840 (plain)
1
2
3
4
5
6
7
## Add new `meson subprojects foreach` command

`meson subprojects` has learned a new `foreach` command which accepts a command
with arguments and executes it in each subproject directory.

For example this can be useful to check the status of subprojects (e.g. with
`git status` or `git diff`) before performing other actions on them.