From 3291f60fe70f3dfa722be0498828e3d6a77f540c Mon Sep 17 00:00:00 2001 From: Sascha Andres Date: Mon, 6 Mar 2017 13:55:03 +0100 Subject: [PATCH] Added environment to README --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index e49afd49..e3b04c05 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,18 @@ task assets build If Bash is available (Linux and Windows while on Git Bash), the commands will run in Bash, otherwise will fallback to `cmd` (on Windows). +### Environment + +You can specify environment variables that are added when running a command: + +```yml +build: + cmds: + - echo $hallo + env: + hallo: welt +``` + ### Running task in another dir By default, tasks will be executed in the directory where the Taskfile is