summaryrefslogtreecommitdiffstats
path: root/examples/foo.yml
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 20:11:31 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-09-19 20:11:31 +0200
commitd644ecdcec86b6898ef6d9d8805652f204c63df1 (patch)
treef0ff36c5c4a89960afcaa08c008418afa966e124 /examples/foo.yml
parentfc4b06f1eac4c5e8ba1b7ebddc02a2c49e5220fb (diff)
downloadrebel-d644ecdcec86b6898ef6d9d8805652f204c63df1.tar
rebel-d644ecdcec86b6898ef6d9d8805652f204c63df1.zip
Use template variables instead of environment, parametrize all examples
This implements passing of various pieces of information through task arguments, as well as argument inheritance through different kinds of dependencies.
Diffstat (limited to 'examples/foo.yml')
-rw-r--r--examples/foo.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/foo.yml b/examples/foo.yml
index 6b82812..2982795 100644
--- a/examples/foo.yml
+++ b/examples/foo.yml
@@ -5,8 +5,8 @@ tasks:
run: |
ls -lha
ls -lha /proc/self/fd
- mkdir -p "${DESTDIR}/foo"
- cd "${DESTDIR}"
+ mkdir -p {{destdir}}/foo
+ cd {{destdir}}
echo foobar > foo/bar
touch foo/bla
touch foo/x