summaryrefslogtreecommitdiff
path: root/doc/sessions/directives.run
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-12 23:01:52 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-17 20:58:24 +0900
commit0060e692b73aa4544a35345b220256ae76486205 (patch)
tree86dc4e7ddf6cc0186771e5376d6a5e2a48511c66 /doc/sessions/directives.run
parent5e79a84af8e9904f21d70735b61e999cca81ed27 (diff)
downloadbuildstream-0060e692b73aa4544a35345b220256ae76486205.tar.gz
doc/examples/directives: Add user guide for using project options and directives
Diffstat (limited to 'doc/sessions/directives.run')
-rw-r--r--doc/sessions/directives.run35
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/sessions/directives.run b/doc/sessions/directives.run
new file mode 100644
index 000000000..5fd10bd3d
--- /dev/null
+++ b/doc/sessions/directives.run
@@ -0,0 +1,35 @@
+
+commands:
+# Make it fetch first
+- directory: ../examples/directives
+ command: source fetch hello.bst
+
+# Capture a build output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-build-normal.html
+ command: build hello.bst
+
+# Capture a build output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-build-somber.html
+ command: --option flavor somber build hello.bst
+
+# Capture a build output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-build-excited.html
+ command: --option flavor excited build hello.bst
+
+# Capture a shell output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-shell-normal.html
+ command: shell hello.bst -- hello
+
+# Capture a shell output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-shell-somber.html
+ command: --option flavor somber shell hello.bst -- hello
+
+# Capture a shell output
+- directory: ../examples/directives
+ output: ../source/sessions/directives-shell-excited.html
+ command: --option flavor excited shell hello.bst -- hello