summaryrefslogtreecommitdiff
path: root/buildstream/plugins/elements
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-01 20:28:52 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-01 20:28:52 +0900
commitb838bcf8be6f997c7f81d9d93e3542d8b5de2000 (patch)
treec7494609d2229595647bf45a875bc874698b9ef9 /buildstream/plugins/elements
parent68b375664fa3556389ea44c7f446be97bb4196cb (diff)
downloadbuildstream-b838bcf8be6f997c7f81d9d93e3542d8b5de2000.tar.gz
script.py: Added documentation
Added note that script elements may only depend on other elements as build dependencies.
Diffstat (limited to 'buildstream/plugins/elements')
-rw-r--r--buildstream/plugins/elements/script.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/plugins/elements/script.py b/buildstream/plugins/elements/script.py
index f34aff7b8..7198af8aa 100644
--- a/buildstream/plugins/elements/script.py
+++ b/buildstream/plugins/elements/script.py
@@ -24,6 +24,12 @@
This element allows one to run some commands to mutate the
input and create some output.
+.. note::
+
+ Script elements may only specify build dependencies. See
+ :ref:`the format documentation <format_dependencies>` for more
+ detail on specifying dependencies.
+
The default configuration and possible options are as such:
.. literalinclude:: ../../../buildstream/plugins/elements/script.yaml
:language: yaml