summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-06-25 21:34:28 +0300
committerLars Wirzenius <liw@liw.fi>2015-06-25 21:34:28 +0300
commit644b34873b1c6fd49eacae5f69f5533ac7748519 (patch)
tree287b67777d128f7a36a2bf6a14a24d2188879049 /doc
parent16a7e7843c066a028a81c321deff1b2925e3d917 (diff)
downloadick-644b34873b1c6fd49eacae5f69f5533ac7748519.tar.gz
Change a shell project to take a single command
It's confusing to have a list of commands, since so many people fail to remember that each command invokes a new process. A YAML multiline string can do the same thing.
Diffstat (limited to 'doc')
-rw-r--r--doc/040-simple.yarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/040-simple.yarn b/doc/040-simple.yarn
index 36dd5f6..aa593a4 100644
--- a/doc/040-simple.yarn
+++ b/doc/040-simple.yarn
@@ -41,7 +41,7 @@ passphrase or a login password all the time.
... "project-type": "shell",
... "git": "FOO.git",
... "branch": "master",
- ... "commands": [ "echo BUILDING FOO", "test -d .git" ]
+ ... "shell": "echo BUILDING FOO\ntest -d .git\n"
... }
... }
... }