2017-07-02 20:30:50 +02:00
|
|
|
default:
|
2017-07-06 18:40:21 +02:00
|
|
|
vars:
|
|
|
|
SPANISH: ¡Holla mundo!
|
2017-07-20 09:05:37 +02:00
|
|
|
PORTUGUESE: "{{.PORTUGUESE_HELLO_WORLD}}"
|
|
|
|
GERMAN: "Welt!"
|
2017-07-02 20:30:50 +02:00
|
|
|
deps:
|
|
|
|
- task: write-file
|
2017-07-06 01:07:24 +02:00
|
|
|
vars: {CONTENT: Dependence1, FILE: dep1.txt}
|
2017-07-02 20:30:50 +02:00
|
|
|
- task: write-file
|
2017-07-06 01:07:24 +02:00
|
|
|
vars: {CONTENT: Dependence2, FILE: dep2.txt}
|
2017-07-09 23:37:50 +02:00
|
|
|
- task: write-file
|
|
|
|
vars: {CONTENT: "{{.SPANISH|replace \"mundo\" \"dependencia\"}}", FILE: spanish-dep.txt}
|
2017-07-02 20:30:50 +02:00
|
|
|
cmds:
|
|
|
|
- task: write-file
|
2017-07-06 01:07:24 +02:00
|
|
|
vars: {CONTENT: Hello, FILE: hello.txt}
|
2017-07-02 20:30:50 +02:00
|
|
|
- task: write-file
|
2017-07-06 01:12:40 +02:00
|
|
|
vars: {CONTENT: "$echo 'World'", FILE: world.txt}
|
2017-07-02 20:30:50 +02:00
|
|
|
- task: write-file
|
2017-07-06 01:07:24 +02:00
|
|
|
vars: {CONTENT: "!", FILE: exclamation.txt}
|
2017-07-06 18:40:21 +02:00
|
|
|
- task: write-file
|
|
|
|
vars: {CONTENT: "{{.SPANISH}}", FILE: spanish.txt}
|
2017-07-15 19:40:58 +02:00
|
|
|
- task: write-file
|
|
|
|
vars: {CONTENT: "{{.PORTUGUESE}}", FILE: portuguese.txt}
|
2017-07-20 09:05:37 +02:00
|
|
|
- task: write-file
|
|
|
|
vars: {CONTENT: "{{.GERMAN}}", FILE: german.txt}
|
|
|
|
- task: non-default
|
2017-07-02 20:30:50 +02:00
|
|
|
|
|
|
|
write-file:
|
|
|
|
cmds:
|
|
|
|
- echo {{.CONTENT}} > {{.FILE}}
|
2017-07-20 09:05:37 +02:00
|
|
|
|
|
|
|
non-default:
|
|
|
|
vars:
|
|
|
|
PORTUGUESE: "{{.PORTUGUESE_HELLO_WORLD}}"
|
|
|
|
cmds:
|
|
|
|
- task: write-file
|
|
|
|
vars: {CONTENT: "{{.PORTUGUESE}}", FILE: portuguese2.txt}
|