summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-01-30 17:53:05 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-01-30 17:53:05 +0100
commitb55edb96ae0f45d9dce64d6f2e78a9b8d3ff4ef9 (patch)
tree0a24be5f4c8590da0e34c4e012b95e8412a0b56a /examples
parentd178b8003f48718348016b4e57f63d8db52fe2c5 (diff)
downloadrebel-b55edb96ae0f45d9dce64d6f2e78a9b8d3ff4ef9.tar
rebel-b55edb96ae0f45d9dce64d6f2e78a9b8d3ff4ef9.zip
examples: extend with output
Diffstat (limited to 'examples')
-rw-r--r--examples/bar.yml4
-rw-r--r--examples/foo.yml4
-rw-r--r--examples/ls.yml2
3 files changed, 7 insertions, 3 deletions
diff --git a/examples/bar.yml b/examples/bar.yml
index 08be4a5..9d21d4a 100644
--- a/examples/bar.yml
+++ b/examples/bar.yml
@@ -1,5 +1,7 @@
tasks:
build:
+ output:
+ - 'bar'
run: |
- echo bar
+ echo bar > bar
diff --git a/examples/foo.yml b/examples/foo.yml
index 97d273a..c7deecb 100644
--- a/examples/foo.yml
+++ b/examples/foo.yml
@@ -1,4 +1,6 @@
tasks:
build:
+ output:
+ - 'foo'
run: |
- echo foo
+ echo foo > foo
diff --git a/examples/ls.yml b/examples/ls.yml
index adc4944..ba752d2 100644
--- a/examples/ls.yml
+++ b/examples/ls.yml
@@ -4,4 +4,4 @@ tasks:
- 'foo:build'
- 'bar:build'
run: |
- ls
+ ls -lh /