From 46c071ea5c36b153fdf7d388c580bfa1a26cf226 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 16 Sep 2017 22:05:48 +0300 Subject: Add functionality to promote nested dependencies to top level. --- docs/markdown/snippets/wrap_promote.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/markdown/snippets/wrap_promote.md (limited to 'docs/markdown/snippets') diff --git a/docs/markdown/snippets/wrap_promote.md b/docs/markdown/snippets/wrap_promote.md new file mode 100644 index 0000000..20fee47 --- /dev/null +++ b/docs/markdown/snippets/wrap_promote.md @@ -0,0 +1,11 @@ +# Can promote dependencies with wrap command + +The `promote` command makes it easy to copy nested dependencies to the top level. + + meson wrap promote scommon + +This will search the project tree for a subproject called `scommon` and copy it to the top level. + +If there are many embedded subprojects with the same name, you have to specify which one to promote manually like this: + + meson wrap promote subprojects/s1/subprojects/scommon -- cgit v1.1