summaryrefslogtreecommitdiff
path: root/doc/sessions/developing.run
blob: 1ae4eb5ad6d599c8b9c38c554c6d191c5852eb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55

commands:
# Make it fetch first
- directory: ../examples/developing/
  command: fetch hello.bst

# Capture workspace open output 
- directory: ../examples/developing/
  output: ../source/sessions/developing-workspace-open.html
  command: workspace open --directory workspace_hello hello.bst

# Catpure output from workspace list
- directory: ../examples/developing/
  output: ../source/sessions/developing-workspace-list.html
  command: workspace list

# Apply a patch in the workspace
- directory: ../examples/developing/
  shell: True
  command: patch workspace_hello/hello.c update.patch

# Rebuild
- directory: ../examples/developing/
  output: ../source/sessions/developing-build-after-changes.html
  command: build hello.bst

# Rebuild, from the workspace
- directory: ../examples/developing/workspace_hello
  output: ../source/sessions/developing-build-after-changes-workspace.html
  command: build

# Capture shell output with changes
- directory: ../examples/developing/
  output: ../source/sessions/developing-shell-after-changes.html
  command: shell hello.bst -- hello

# Close workspace
- directory: ../examples/developing/
  output: ../source/sessions/developing-close-workspace.html
  command: workspace close hello.bst 

# Reopen workspace
- directory: ../examples/developing/
  output: ../source/sessions/developing-reopen-workspace.html
  command: workspace open --no-checkout --directory workspace_hello hello.bst

# Reset workspace
- directory: ../examples/developing/
  output: ../source/sessions/developing-reset-workspace.html
  command: workspace reset hello.bst 

# Discard workspace
- directory: ../examples/developing/
  output: ../source/sessions/developing-discard-workspace.html
  command: workspace close --remove-dir hello.bst