Skip to content

Commit

Permalink
Support interpolation including parameterized goal params #153 README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Jan 3, 2024
1 parent 4f12aec commit 44fab8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,6 @@ Note, you can reference the `@define`-ed variables in the arguments of the param
@depends_on parameterized_goal @args "$HELLO world" # interpolated inside string
```

You can also rely on parameterized goals [parameters interpolation](https://github.com/xonixx/makesure/issues/153).

Having the above in `Makesurefile` will produce next output when ran with `./makesure goal1`:
```
goal 'parameterized_goal@hello' ...
Expand All @@ -417,6 +415,8 @@ ARG=hello world
goal 'goal1' [empty].
```

You can also rely on parameterized goals [parameters interpolation](https://github.com/xonixx/makesure/issues/153).

Please find a more real-world example [here](https://github.com/xonixx/fhtagn/blob/e7161f92731c13b5afbc09c7d738c1ff4882906f/Makesurefile#L70).

For more technical consideration regarding this feature see [parameterized_goals.md](docs/parameterized_goals.md).
Expand Down

0 comments on commit 44fab8e

Please sign in to comment.