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

Side by Side Diff: recipe_modules/file/examples/copy.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 "copy",
10 "Here is some text data",
11 "[START_DIR]/some file"
12 ],
13 "infra_step": true,
14 "name": "write a file"
15 },
16 {
17 "cmd": [
18 "python",
19 "-u",
20 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
21 "--json-output",
22 "/path/to/tmp/json",
23 "copy",
24 "[START_DIR]/some file",
25 "[START_DIR]/new path"
26 ],
27 "infra_step": true,
28 "name": "copy it"
29 },
30 {
31 "cmd": [
32 "python",
33 "-u",
34 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
35 "--json-output",
36 "/path/to/tmp/json",
37 "copy",
38 "[START_DIR]/new path",
39 "/path/to/tmp/"
40 ],
41 "infra_step": true,
42 "name": "read it"
43 },
44 {
45 "cmd": [
46 "python",
47 "-u",
48 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
49 "--json-output",
50 "/path/to/tmp/json",
51 "move",
52 "[START_DIR]/new path",
53 "[START_DIR]/new new path"
54 ],
55 "infra_step": true,
56 "name": "move it"
57 },
58 {
59 "cmd": [
60 "python",
61 "-u",
62 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
63 "--json-output",
64 "/path/to/tmp/json",
65 "copy",
66 "[START_DIR]/new new path",
67 "/path/to/tmp/"
68 ],
69 "infra_step": true,
70 "name": "read it (2)"
71 },
72 {
73 "name": "$result",
74 "recipe_result": null,
75 "status_code": 0
76 }
77 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698