You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22-3Lines changed: 22 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -172,10 +172,12 @@ See the [example configuration](./templates/stackup.dist.yaml) for a more comple
172
172
173
173
Working on a standalone Laravel application? Check out the [example laravel configuration](./templates/stackup.laravel.yaml).
174
174
175
-
## Available Functions
175
+
## Scripting
176
+
177
+
Many of the fields in a `Task` can be defined using javascript. To specify an expression to be evaluated, wrap the content in double braces: `{{ env("HOME") }}`.
178
+
179
+
### Available Functions
176
180
177
-
Many of the configuration fields can be defined using a javascript expression syntax.
178
-
To specify an expression to be evaluated, wrap the content in double braces: `{{ env("HOME") }}`.
@@ -270,6 +272,23 @@ The `SemVer` class is returned by the `semver()` function And is used to parse a
270
272
| `.Patch` | -- | value of the patch version number |
271
273
| `.String` | -- | the original version string |
272
274
275
+
### Environment Variables
276
+
277
+
Environment variables can be accessed using the `env()` function or referenced directly as variables by prefixing the variable name with `$` (e.g. `$HOME`).
0 commit comments