Explain how to pass arguments of a command to a dependency (#1254)
This commit is contained in:
parent
dbe05d2d23
commit
0b750b6cd7
10
README.md
10
README.md
@ -1362,6 +1362,16 @@ build target:
|
||||
cd {{target}} && make
|
||||
```
|
||||
|
||||
A command's arguments can be passed to dependency by putting the dependency in parentheses along with the arguments:
|
||||
|
||||
```make
|
||||
build target:
|
||||
@echo "Building {{target}}…"
|
||||
|
||||
push target: (build target)
|
||||
@echo 'Pushing {{target}}…'
|
||||
```
|
||||
|
||||
Parameters may have default values:
|
||||
|
||||
```make
|
||||
|
Loading…
Reference in New Issue
Block a user