summaryrefslogtreecommitdiff
path: root/doc/sessions
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-16 20:04:33 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2020-04-17 20:58:24 +0900
commit6b9619b0cbb69310f2543605500a4b82e315738f (patch)
treefe7a52bc6edae7e5fe4b75cb72601f85da8ffd60 /doc/sessions
parentb2a8fc10e286cf0293ae3f69782f9b5e86b49da0 (diff)
downloadbuildstream-6b9619b0cbb69310f2543605500a4b82e315738f.tar.gz
doc/examples/filtering: Added a new user guide entry about filter elements
Diffstat (limited to 'doc/sessions')
-rw-r--r--doc/sessions/filtering.run33
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/sessions/filtering.run b/doc/sessions/filtering.run
new file mode 100644
index 000000000..2ab3d1acd
--- /dev/null
+++ b/doc/sessions/filtering.run
@@ -0,0 +1,33 @@
+
+commands:
+# Make it fetch first
+- directory: ../examples/filtering
+ command: source fetch hello.bst
+
+# Capture a build output
+- directory: ../examples/filtering
+ command: --option use_filter False build hello.bst
+
+# Capture a build output
+- directory: ../examples/filtering
+ command: --option use_filter True build hello.bst
+
+# Capture list-contents output
+- directory: ../examples/filtering
+ output: ../source/sessions/filtering-list-contents-libhello.html
+ command: artifact list-contents libhello.bst
+
+# Capture list-contents output
+- directory: ../examples/filtering
+ output: ../source/sessions/filtering-list-contents-libhello-filtered.html
+ command: artifact list-contents libhello-filtered.bst
+
+# Capture shell output
+- directory: ../examples/filtering
+ output: ../source/sessions/filtering-shell-without-filter.html
+ command: --option use_filter False shell hello.bst -- hello
+
+# Capture shell output
+- directory: ../examples/filtering
+ output: ../source/sessions/filtering-shell-with-filter.html
+ command: --option use_filter True shell hello.bst -- hello