Merge pull request #103 from SimonHeimberg/patch-2

improve documentation of shell plugin
This commit is contained in:
Dmitry Khomutov 2017-07-18 07:48:42 +07:00 committed by GitHub
commit c78ac2d09e

View file

@ -1,3 +1,4 @@
Plugin Shell
============
@ -22,11 +23,12 @@ setup:
```yml
setup:
shell:
- "cd /www"
- "[ -d /www ]"
- "chmod u+x %BUILD_PATH%/bin/console"
- "%BUILD_PATH%/bin/console build"
```
When a command fails, the remaining ones are not run.
#### Each new command forgets about what was before
So if you want cd to directory and then run script there, combine those two commands into one like: