summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-11 21:33:25 -0400
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-06-12 17:38:26 -0400
commit050cf2eba99d85802a786daaefd76ccba90bd1cc (patch)
treea0f8af500dda829b440c5cb53044359665548d57
parent52f70a0d9a39734f25706fda7b6f07c07d479c79 (diff)
downloadbuildstream-050cf2eba99d85802a786daaefd76ccba90bd1cc.tar.gz
doc/sessions: Added run files describing scenarios to build
The Makefile uses these to run some scenarios which are later included by the documentation directly.
-rw-r--r--doc/sessions/flatpak-autotools-build.run12
-rw-r--r--doc/sessions/flatpak-autotools-shell.run9
2 files changed, 21 insertions, 0 deletions
diff --git a/doc/sessions/flatpak-autotools-build.run b/doc/sessions/flatpak-autotools-build.run
new file mode 100644
index 000000000..83a1ac188
--- /dev/null
+++ b/doc/sessions/flatpak-autotools-build.run
@@ -0,0 +1,12 @@
+# Project directory
+directory: ../examples/flatpak-autotools
+
+# This takes a lot of space, limit it's height
+height: '350px'
+
+# Make sure it's fetched in the source cache
+prepare-commands:
+- fetch hello.bst
+
+# Build it with everything already fetched
+command: build hello.bst
diff --git a/doc/sessions/flatpak-autotools-shell.run b/doc/sessions/flatpak-autotools-shell.run
new file mode 100644
index 000000000..c1eaf903e
--- /dev/null
+++ b/doc/sessions/flatpak-autotools-shell.run
@@ -0,0 +1,9 @@
+# Project directory
+directory: ../examples/flatpak-autotools
+
+# Make sure it's fetched and built in the caches
+prepare-commands:
+- build hello.bst
+
+# Run it now that we know everything is built
+command: shell hello.bst -- hello