aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-09-16 22:05:48 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-12-17 21:17:13 +0200
commit46c071ea5c36b153fdf7d388c580bfa1a26cf226 (patch)
tree9f5000bfcaad81d9bbf0622c9f796e8067132baf /docs/markdown/snippets
parent202b2fedf300f62b8c1c3b52cd5320845038d85e (diff)
downloadmeson-46c071ea5c36b153fdf7d388c580bfa1a26cf226.zip
meson-46c071ea5c36b153fdf7d388c580bfa1a26cf226.tar.gz
meson-46c071ea5c36b153fdf7d388c580bfa1a26cf226.tar.bz2
Add functionality to promote nested dependencies to top level.
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/wrap_promote.md11
1 files changed, 11 insertions, 0 deletions
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