summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWilliam Salmon <will.salmon@codethink.co.uk>2018-11-02 15:49:12 +0000
committerWill Salmon <will.salmon@codethink.co.uk>2018-11-21 15:53:03 +0000
commit7bdd44b2000b9ba3fb5742c2d03b7ebe99b0a196 (patch)
tree70e780f81ff24c206efdb21961be9718c048793c /doc
parent2022c3e8419656ca9c0faac17bb7a2041eaf5aca (diff)
downloadbuildstream-7bdd44b2000b9ba3fb5742c2d03b7ebe99b0a196.tar.gz
Workspace CLI update
This is to update the workspace CLI to as agreed on the mailing list https://mail.gnome.org/archives/buildstream-list/2018-September/msg00046.html This patch also introduces the default workspace directory.
Diffstat (limited to 'doc')
-rw-r--r--doc/sessions/developing.run4
-rw-r--r--doc/sessions/junctions.run2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/sessions/developing.run b/doc/sessions/developing.run
index 10beb2ad0..eca2af90b 100644
--- a/doc/sessions/developing.run
+++ b/doc/sessions/developing.run
@@ -7,7 +7,7 @@ commands:
# Capture workspace open output
- directory: ../examples/developing/
output: ../source/sessions/developing-workspace-open.html
- command: workspace open hello.bst workspace_hello
+ command: workspace open --directory workspace_hello hello.bst
# Catpure output from workspace list
- directory: ../examples/developing/
@@ -37,7 +37,7 @@ commands:
# Reopen workspace
- directory: ../examples/developing/
output: ../source/sessions/developing-reopen-workspace.html
- command: workspace open --no-checkout hello.bst workspace_hello
+ command: workspace open --no-checkout --directory workspace_hello hello.bst
# Reset workspace
- directory: ../examples/developing/
diff --git a/doc/sessions/junctions.run b/doc/sessions/junctions.run
index 28ada6cf9..74c3a4f57 100644
--- a/doc/sessions/junctions.run
+++ b/doc/sessions/junctions.run
@@ -13,7 +13,7 @@ commands:
# Open a crossJunction workspace:
- directory: ../examples/junctions
output: ../source/sessions/junctions-workspace-open.html
- command: workspace open hello-junction.bst:hello.bst workspace_hello
+ command: workspace open --directory workspace_hello hello-junction.bst:hello.bst
# Remove the workspace
- directory: ../examples/junctions