mirror of
1
0
Fork 0

Update README

Add note on array syntax for shell commands being deprecated.
This commit is contained in:
Anish Athalye 2015-02-03 18:09:25 -05:00
parent 38c0f65801
commit f7a291c780
1 changed files with 7 additions and 4 deletions

View File

@ -160,13 +160,16 @@ base directory (that is specified when running the installer).
#### Format
Shell commands can be specified in several different ways. The simplest way is
just to specify a command as a string containing the command to be run. Another
way is to specify a two element array where the first element is the shell
command and the second is an optional human-readable description. Shell
just to specify a command as a string containing the command to be run. Shell
commands support an extended syntax as well, which provides more fine-grained
control. A command can be specified as a dictionary that contains the command
to be run, a description, and whether stdin, stdout, and stderr are enabled. In
this syntax, all keys are optional except for the command itself.
this syntax, all keys are optional except for the command itself, and all
streams are disabled by default.
Another way is to specify a two element array where the first element is the
shell command and the second is an optional human-readable description. **This
syntax is deprecated.**
##### Example (YAML)