Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: recipe_modules/context/examples/full.expected/basic.json

Issue 2925453002: [context] Add path prefix/suffix manipulation. (Closed)
Patch Set: comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "bash", 4 "bash",
5 "-c", 5 "-c",
6 "echo default!" 6 "echo default!"
7 ], 7 ],
8 "name": "default step" 8 "name": "default step"
9 }, 9 },
10 { 10 {
11 "cmd": [ 11 "cmd": [
12 "bash", 12 "bash",
13 "-c", 13 "-c",
14 "echo default!" 14 "echo default!"
15 ], 15 ],
16 "name": "default step (2)" 16 "name": "default step (2)"
17 }, 17 },
18 { 18 {
19 "cmd": [ 19 "cmd": [
20 "mkdir", 20 "mkdir",
21 "-p",
21 "subdir" 22 "subdir"
22 ], 23 ],
23 "name": "mk subdir" 24 "name": "mk subdir"
24 }, 25 },
25 { 26 {
26 "cmd": [ 27 "cmd": [
27 "bash", 28 "bash",
28 "-c", 29 "-c",
29 "pwd" 30 "pwd"
30 ], 31 ],
31 "cwd": "[START_DIR]/subdir", 32 "cwd": "[START_DIR]/subdir",
32 "name": "subdir step" 33 "name": "subdir step"
33 }, 34 },
34 { 35 {
35 "cmd": [ 36 "cmd": [
36 "bash", 37 "bash",
37 "-c", 38 "-c",
38 "echo hi again!" 39 "echo hi again!"
39 ], 40 ],
40 "cwd": "[START_DIR]/subdir", 41 "cwd": "[START_DIR]/subdir",
41 "name": "other subdir step" 42 "name": "other subdir step"
42 }, 43 },
43 { 44 {
44 "cmd": [ 45 "cmd": [
45 "bash", 46 "bash",
46 "-c", 47 "-c",
47 "echo $HELLO; echo $HOME" 48 "echo $FOO"
48 ], 49 ],
49 "env": { 50 "env": {
50 "HELLO": "WORLD", 51 "FOO": "bar"
51 "HOME": null
52 }, 52 },
53 "name": "env step" 53 "name": "env step"
54 }, 54 },
55 { 55 {
56 "cmd": [
57 "bash",
58 "-c",
59 "echo $FOO"
60 ],
61 "env": {
62 "FOO": "[START_DIR]/pants:[START_DIR]/shirt:bar"
63 },
64 "name": "env step with prefix"
65 },
66 {
56 "cmd": [], 67 "cmd": [],
57 "name": "nested" 68 "name": "nested"
58 }, 69 },
59 { 70 {
60 "cmd": [ 71 "cmd": [
61 "bash", 72 "bash",
62 "-c", 73 "-c",
63 "echo yay!" 74 "echo yay!"
64 ], 75 ],
65 "name": "nested.properly indented", 76 "name": "nested.properly indented",
(...skipping 11 matching lines...) Expand all
77 "~followup_annotations": [ 88 "~followup_annotations": [
78 "@@@STEP_NEST_LEVEL@1@@@" 89 "@@@STEP_NEST_LEVEL@1@@@"
79 ] 90 ]
80 }, 91 },
81 { 92 {
82 "name": "$result", 93 "name": "$result",
83 "recipe_result": null, 94 "recipe_result": null,
84 "status_code": 0 95 "status_code": 0
85 } 96 }
86 ] 97 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698