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

Unified Diff: recipe_modules/context/examples/full.expected/basic.json

Issue 2925453002: [context] Add path prefix/suffix manipulation. (Closed)
Patch Set: advise 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 side-by-side diff with in-line comments
Download patch
Index: recipe_modules/context/examples/full.expected/basic.json
diff --git a/recipe_modules/context/examples/full.expected/basic.json b/recipe_modules/context/examples/full.expected/basic.json
index bf0aabdbb0cbabfd0cc26c863b28fee94ae77dc8..0da489f146602b26b8ab34cc4820eac4c525318e 100644
--- a/recipe_modules/context/examples/full.expected/basic.json
+++ b/recipe_modules/context/examples/full.expected/basic.json
@@ -18,6 +18,7 @@
{
"cmd": [
"mkdir",
+ "-p",
"subdir"
],
"name": "mk subdir"
@@ -44,14 +45,35 @@
"cmd": [
"bash",
"-c",
- "echo $HELLO; echo $HOME"
+ "echo $FOO"
],
"env": {
- "HELLO": "WORLD",
- "HOME": null
+ "FOO": "bar"
},
"name": "env step"
},
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "echo $FOO"
+ ],
+ "env": {
+ "FOO": "[START_DIR]/pants:[START_DIR]/shirt:bar"
+ },
+ "name": "env step with prefix and suffix"
+ },
+ {
+ "cmd": [
+ "bash",
+ "-c",
+ "echo $FOO"
+ ],
+ "env": {
+ "FOO": "[START_DIR]/pants:bar"
+ },
+ "name": "env with path removal"
+ },
{
"cmd": [],
"name": "nested"

Powered by Google App Engine
This is Rietveld 408576698