Jonathan Maw pushed to branch jonathan/workspace-fragment-guess-element at BuildStream / buildstream
Commits:
-
6d329a75
by Jonathan Maw at 2018-11-28T13:55:39Z
2 changed files:
Changes:
... | ... | @@ -24,6 +24,11 @@ commands: |
24 | 24 |
output: ../source/sessions/developing-build-after-changes.html
|
25 | 25 |
command: build hello.bst
|
26 | 26 |
|
27 |
+# Rebuild, from the workspace
|
|
28 |
+- directory: ../examples/developing/workspace_hello
|
|
29 |
+ output: ../source/sessions/developing-build-after-changes-workspace.html
|
|
30 |
+ command: build
|
|
31 |
+ |
|
27 | 32 |
# Capture shell output with changes
|
28 | 33 |
- directory: ../examples/developing/
|
29 | 34 |
output: ../source/sessions/developing-shell-after-changes.html
|
... | ... | @@ -50,11 +50,16 @@ We can open workspace_hello/hello.c and make the following change: |
50 | 50 |
.. literalinclude:: ../../examples/developing/update.patch
|
51 | 51 |
:language: diff
|
52 | 52 |
|
53 |
-Now, rebuild the hello.bst element
|
|
53 |
+Now, rebuild the hello.bst element.
|
|
54 | 54 |
|
55 | 55 |
.. raw:: html
|
56 | 56 |
:file: ../sessions/developing-build-after-changes.html
|
57 | 57 |
|
58 |
+Note that if you run the command from inside the workspace, the element name is optional.
|
|
59 |
+ |
|
60 |
+.. raw:: html
|
|
61 |
+ :file: ../sessions/developing-build-after-changes-workspace.html
|
|
62 |
+ |
|
58 | 63 |
Now running the hello command using bst shell:
|
59 | 64 |
|
60 | 65 |
.. raw:: html
|