You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:34:34 UTC

[buildstream] 04/05: doc/.../{developing, junctions}.run: --assume-yes

This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch aevri/safe_noninteractive
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 7d7c465ac01210cf5f5dc836af8268870f148a30
Author: Angelos Evripiotis <je...@bloomberg.net>
AuthorDate: Wed Nov 28 13:27:37 2018 +0400

    doc/.../{developing,junctions}.run: --assume-yes
    
    Update the examples in the documentation to be runnable by using the new
    '--assume-yes' option to workspace close and reset.
    
    Also removes trailing whitespace from those examples.
---
 doc/sessions/developing.run | 4 ++--
 doc/sessions/junctions.run  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/sessions/developing.run b/doc/sessions/developing.run
index eca2af9..933c32d 100644
--- a/doc/sessions/developing.run
+++ b/doc/sessions/developing.run
@@ -42,9 +42,9 @@ commands:
 # Reset workspace
 - directory: ../examples/developing/
   output: ../source/sessions/developing-reset-workspace.html
-  command: workspace reset hello.bst 
+  command: workspace reset --assume-yes hello.bst
 
 # Discard workspace
 - directory: ../examples/developing/
   output: ../source/sessions/developing-discard-workspace.html
-  command: workspace close --remove-dir hello.bst 
+  command: workspace close --remove-dir --assume-yes hello.bst
diff --git a/doc/sessions/junctions.run b/doc/sessions/junctions.run
index 74c3a4f..1b440b3 100644
--- a/doc/sessions/junctions.run
+++ b/doc/sessions/junctions.run
@@ -17,4 +17,4 @@ commands:
 
 # Remove the workspace 
 - directory: ../examples/junctions
-  command: workspace close --remove-dirs hello-junction.bst:hello.bst
+  command: workspace close --remove-dir --assume-yes hello-junction.bst:hello.bst