summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/plugins/elements/script.py6
-rw-r--r--doc/source/format.rst2
2 files changed, 8 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
diff --git a/doc/source/format.rst b/doc/source/format.rst
index 9af733e41..f77f3a368 100644
--- a/doc/source/format.rst
+++ b/doc/source/format.rst
@@ -289,6 +289,8 @@ may specify additional domains to be understood and processed by their own eleme
plugins.
+.. _format_dependencies:
+
Dependencies
------------
The dependency model in BuildStream is simplified by treating software distribution