summaryrefslogtreecommitdiff
path: root/doc/sessions
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-18 15:01:47 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-18 15:17:52 -0400
commitb4105e8dea0f4aaaefbbd5a5dce344a939e736dc (patch)
tree6ef0af24afde022eea9b7ac00646314b0a711d15 /doc/sessions
parent72fbaa1c0c0f3ff59db0f8bd34268918c6db9865 (diff)
downloadbuildstream-b4105e8dea0f4aaaefbbd5a5dce344a939e736dc.tar.gz
doc: Adding part 3 of the getting started tutorial: autotools element
This part of the tutorial uses a lot of the work from Phil Dawson and James Ennis, and uses their example submitted on merge request 499 as a basis to introduce the user to yaml composition and variable resolution. This is a part of issue #103
Diffstat (limited to 'doc/sessions')
-rw-r--r--doc/sessions/autotools.run20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/sessions/autotools.run b/doc/sessions/autotools.run
new file mode 100644
index 000000000..d6263acb7
--- /dev/null
+++ b/doc/sessions/autotools.run
@@ -0,0 +1,20 @@
+
+commands:
+# Make it fetch first
+- directory: ../examples/autotools
+ command: fetch hello.bst
+
+# Capture a `bst show` of the variables
+- directory: ../examples/autotools
+ output: ../source/sessions/autotools-show-variables.html
+ command: show --deps none --format "%{vars}" hello.bst
+
+# Capture a `bst build`
+- directory: ../examples/autotools
+ output: ../source/sessions/autotools-build.html
+ command: build hello.bst
+
+# Capture a shell output
+- directory: ../examples/autotools
+ output: ../source/sessions/autotools-shell.html
+ command: shell hello.bst -- hello