summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins/elements/import.yaml
diff options
context:
space:
mode:
authorChandan Singh <csingh43@bloomberg.net>2019-04-24 22:53:19 +0100
committerChandan Singh <csingh43@bloomberg.net>2019-05-21 12:41:18 +0100
commit070d053e5cc47e572e9f9e647315082bd7a15c63 (patch)
tree7fb0fdff52f9b5f8a18ec8fe9c75b661f9e0839e /src/buildstream/plugins/elements/import.yaml
parent6c59e7901a52be961c2a1b671cf2b30f90bc4d0a (diff)
downloadbuildstream-070d053e5cc47e572e9f9e647315082bd7a15c63.tar.gz
Move source from 'buildstream' to 'src/buildstream'
This was discussed in #1008. Fixes #1009.
Diffstat (limited to 'src/buildstream/plugins/elements/import.yaml')
-rw-r--r--src/buildstream/plugins/elements/import.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/import.yaml b/src/buildstream/plugins/elements/import.yaml
new file mode 100644
index 000000000..698111b55
--- /dev/null
+++ b/src/buildstream/plugins/elements/import.yaml
@@ -0,0 +1,14 @@
+# The import element simply stages the given sources
+# directly to the root of the sandbox and then collects
+# the output to create an output artifact.
+#
+config:
+
+ # By default we collect everything staged, specify a
+ # directory here to output only a subset of the staged
+ # input sources.
+ source: /
+
+ # Prefix the output with an optional directory, by default
+ # the input is found at the root of the produced artifact.
+ target: /