Updating README.md

This commit is contained in:
Alex Yatskov 2017-07-30 17:32:32 -07:00
parent a514189f6c
commit 5acca0500e

View File

@ -298,9 +298,8 @@ on your system, Homemaker defines a couple of extra ones for ease of use:
Variant used for task and macro execution.
Environment variables can also be set within tasks block by assigning them to the `envs` variable. The `!` prefix for,
the first value allows to assign environment variables with the result (output of stdout) of an arbitrary command.
The example below demonstrates the setting and clearing of environment variables:
Environment variables can also be set within tasks block by assigning them to the `envs` variable. The example below
demonstrates the setting and clearing of environment variables:
```
[tasks.default]
@ -308,7 +307,6 @@ The example below demonstrates the setting and clearing of environment variables
["MYENV1", "foo"], # set MYENV1 to foo
["MYENV2", "foo", "bar"], # set MYENV2 to foo,bar
["MYENV3"], # clear MYENV3
["MYENV4", "!hostname", "-s"], # set MYENV4 to the output of `hostname -s`
]
```
@ -521,4 +519,19 @@ provides a more detailed description of what the parameters do.
## License ##
MIT
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.