mirror of
https://github.com/go-task/task.git
synced 2026-04-24 19:54:16 +02:00
edee501b6b17d4a6b08073d4435fd97243274e0e
Rename the experiment from SCOPED_INCLUDES to SCOPED_TASKFILES to better
reflect its expanded scope. This experiment now provides:
1. Variable scoping (existing): includes see only their own vars + parent vars
2. Environment namespace (new): env vars accessible via {{.env.XXX}}
With TASK_X_SCOPED_TASKFILES=1:
- {{.VAR}} accesses vars only (scoped per include)
- {{.env.VAR}} accesses env (OS + Taskfile env:, inherited)
- {{.TASK}} and other special vars remain at root level
This is a breaking change for the experimental feature:
- {{.PATH}} no longer works, use {{.env.PATH}} instead
- Env vars are no longer at root level in templates
…
Task
Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.
Installation | Getting Started | Docs | Twitter | Bluesky | Mastodon | Discord
Gold Sponsors
|
|
|
Description
Languages
Go
84%
Vue
4.9%
Shell
4.7%
TypeScript
4.4%
PowerShell
1.4%
Other
0.5%