| [ |
| { |
| "cmd": [ |
| "/bin/echo", |
| "[TMP_BASE]/foo" |
| ], |
| "name": "step1" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources/dir/file.py" |
| ], |
| "name": "print resource" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_REPO[recipe_engine]/dir/file.py" |
| ], |
| "name": "print package dir" |
| }, |
| { |
| "cmd": [ |
| "/bin/echo", |
| "[TMP_BASE]/checkout/jerky" |
| ], |
| "name": "checkout path" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[TMP_BASE]/new_file" |
| ], |
| "name": "touch me" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/directory" |
| ], |
| "name": "rm directory (initial)" |
| }, |
| { |
| "cmd": [ |
| "mkdir", |
| "-p", |
| "[START_DIR]/directory" |
| ], |
| "name": "mkdir directory" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[START_DIR]/directory/filepath" |
| ], |
| "name": "touch filepath" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/directory" |
| ], |
| "name": "rm directory" |
| }, |
| { |
| "cmd": [ |
| "mkdir", |
| "-p", |
| "[START_DIR]/directory" |
| ], |
| "name": "mkdir directory (2)" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2" |
| ], |
| "name": "rm copy2 (initial)" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy20" |
| ], |
| "name": "rm copy20 (initial)" |
| }, |
| { |
| "cmd": [ |
| "mkdir", |
| "-p", |
| "[START_DIR]/copy1/foo/bar" |
| ], |
| "name": "mkdirs" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[START_DIR]/copy10" |
| ], |
| "name": "touch copy10" |
| }, |
| { |
| "cmd": [ |
| "cp", |
| "-a", |
| "[START_DIR]/copy1", |
| "[START_DIR]/copy2" |
| ], |
| "name": "cp copy1 copy2" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2/foo" |
| ], |
| "name": "rm copy2/foo" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[START_DIR]/copy20" |
| ], |
| "name": "touch copy20" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2" |
| ], |
| "name": "rm copy2" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[START_DIR]/some/thing" |
| ], |
| "name": "converted path [START_DIR]/some/thing" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[START_DIR]" |
| ], |
| "name": "converted path [START_DIR]" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[CACHE]/a file" |
| ], |
| "name": "converted path [CACHE]/a file" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[HOME]/another file" |
| ], |
| "name": "converted path [HOME]/another file" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py" |
| ], |
| "name": "converted path RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources" |
| ], |
| "name": "converted path RECIPE_MODULE[recipe_engine::path]/resources" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py" |
| ], |
| "name": "converted path RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE[recipe_engine::path:examples/full].resources" |
| ], |
| "name": "converted path RECIPE[recipe_engine::path:examples/full].resources" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |