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

Side by Side Diff: recipe_modules/file/examples/copytree.expected/basic.json

Issue 2918463002: [recipe_modules/file] add real file module to engine. (Closed)
Patch Set: rebase 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
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
9 "ensure-directory",
10 "--mode",
11 "0777",
12 "[START_DIR]/some dir"
13 ],
14 "infra_step": true,
15 "name": "ensure \"some dir\""
16 },
17 {
18 "cmd": [
19 "python",
20 "-u",
21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22 "--json-output",
23 "/path/to/tmp/json",
24 "copy",
25 "a",
26 "[START_DIR]/some dir/a"
27 ],
28 "infra_step": true,
29 "name": "write a"
30 },
31 {
32 "cmd": [
33 "python",
34 "-u",
35 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36 "--json-output",
37 "/path/to/tmp/json",
38 "copy",
39 "aa",
40 "[START_DIR]/some dir/aa"
41 ],
42 "infra_step": true,
43 "name": "write aa"
44 },
45 {
46 "cmd": [
47 "python",
48 "-u",
49 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50 "--json-output",
51 "/path/to/tmp/json",
52 "copy",
53 "b",
54 "[START_DIR]/some dir/b"
55 ],
56 "infra_step": true,
57 "name": "write b"
58 },
59 {
60 "cmd": [
61 "python",
62 "-u",
63 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
64 "--json-output",
65 "/path/to/tmp/json",
66 "copy",
67 "bb",
68 "[START_DIR]/some dir/bb"
69 ],
70 "infra_step": true,
71 "name": "write bb"
72 },
73 {
74 "cmd": [
75 "python",
76 "-u",
77 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
78 "--json-output",
79 "/path/to/tmp/json",
80 "copy",
81 "c",
82 "[START_DIR]/some dir/c"
83 ],
84 "infra_step": true,
85 "name": "write c"
86 },
87 {
88 "cmd": [
89 "python",
90 "-u",
91 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
92 "--json-output",
93 "/path/to/tmp/json",
94 "copy",
95 "cc",
96 "[START_DIR]/some dir/cc"
97 ],
98 "infra_step": true,
99 "name": "write cc"
100 },
101 {
102 "cmd": [
103 "python",
104 "-u",
105 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
106 "--json-output",
107 "/path/to/tmp/json",
108 "rmtree",
109 "[START_DIR]/some other dir"
110 ],
111 "infra_step": true,
112 "name": "make sure dest is gone"
113 },
114 {
115 "cmd": [
116 "python",
117 "-u",
118 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
119 "--json-output",
120 "/path/to/tmp/json",
121 "copytree",
122 "[START_DIR]/some dir",
123 "[START_DIR]/some other dir"
124 ],
125 "infra_step": true,
126 "name": "copy it"
127 },
128 {
129 "cmd": [
130 "python",
131 "-u",
132 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
133 "--json-output",
134 "/path/to/tmp/json",
135 "listdir",
136 "[START_DIR]/some other dir"
137 ],
138 "infra_step": true,
139 "name": "list new dir",
140 "stdout": "/path/to/tmp/"
141 },
142 {
143 "cmd": [
144 "python",
145 "-u",
146 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
147 "--json-output",
148 "/path/to/tmp/json",
149 "glob",
150 "[START_DIR]/some other dir",
151 "*a"
152 ],
153 "infra_step": true,
154 "name": "glob *a",
155 "stdout": "/path/to/tmp/"
156 },
157 {
158 "cmd": [
159 "python",
160 "-u",
161 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
162 "--json-output",
163 "/path/to/tmp/json",
164 "copy",
165 "[START_DIR]/some other dir/a",
166 "/path/to/tmp/"
167 ],
168 "infra_step": true,
169 "name": "read [START_DIR]/some other dir/a"
170 },
171 {
172 "cmd": [
173 "python",
174 "-u",
175 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
176 "--json-output",
177 "/path/to/tmp/json",
178 "copy",
179 "[START_DIR]/some other dir/aa",
180 "/path/to/tmp/"
181 ],
182 "infra_step": true,
183 "name": "read [START_DIR]/some other dir/aa"
184 },
185 {
186 "cmd": [
187 "python",
188 "-u",
189 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
190 "--json-output",
191 "/path/to/tmp/json",
192 "remove",
193 "[START_DIR]/some other dir/a"
194 ],
195 "infra_step": true,
196 "name": "rm a"
197 },
198 {
199 "cmd": [
200 "python",
201 "-u",
202 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
203 "--json-output",
204 "/path/to/tmp/json",
205 "glob",
206 "[START_DIR]/some other dir",
207 "*a"
208 ],
209 "infra_step": true,
210 "name": "glob *a (2)",
211 "stdout": "/path/to/tmp/"
212 },
213 {
214 "cmd": [
215 "python",
216 "-u",
217 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
218 "--json-output",
219 "/path/to/tmp/json",
220 "rmglob",
221 "[START_DIR]/some other dir",
222 "b*"
223 ],
224 "infra_step": true,
225 "name": "rm b*"
226 },
227 {
228 "cmd": [
229 "python",
230 "-u",
231 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
232 "--json-output",
233 "/path/to/tmp/json",
234 "listdir",
235 "[START_DIR]/some other dir"
236 ],
237 "infra_step": true,
238 "name": "list new dir (2)",
239 "stdout": "/path/to/tmp/"
240 },
241 {
242 "cmd": [
243 "python",
244 "-u",
245 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
246 "--json-output",
247 "/path/to/tmp/json",
248 "rmcontents",
249 "[START_DIR]/some other dir"
250 ],
251 "infra_step": true,
252 "name": "remove \"some other dir/*\""
253 },
254 {
255 "name": "$result",
256 "recipe_result": null,
257 "status_code": 0
258 }
259 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698