blob: b714074dfaf19465764e821d0dd43192f4172923 [file] [log] [blame]
[
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"Here is some text data",
"[START_DIR]/some file"
],
"infra_step": true,
"name": "write a file"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"symlink",
"[START_DIR]/some file",
"[START_DIR]/new path"
],
"infra_step": true,
"name": "symlink it"
},
{
"cmd": [
"python",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/new path",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read it"
},
{
"name": "$result",
"recipe_result": null,
"status_code": 0
}
]