Valentin Maerten d96d6fe703 fix(remote): define special variables behavior
Issue #2267 — Define semantics of file-path special variables when the
Taskfile is loaded from a remote source (HTTP/HTTPS/Git):

- TASKFILE / ROOT_TASKFILE: raw URL (fixes the broken `https:/...`
  caused by filepath.Join collapsing the double slash)
- TASKFILE_DIR / ROOT_DIR: empty string — a DIR variable cannot point
  to a URL
- TASK_DIR: resolved against USER_WORKING_DIR

Export taskfile.IsRemoteEntrypoint so the compiler can dispatch on the
nature of the entrypoint without relying on `c.Dir == ""` (a side
effect of the remote path).
2026-05-17 17:59:28 +02:00
2025-09-23 22:34:43 +00:00
2025-05-01 18:43:43 +01:00
2026-05-16 17:50:34 -03:00
2025-04-19 12:55:22 +01:00
2026-05-16 17:51:05 -03:00
2024-09-02 19:21:53 +00:00
2024-08-14 08:37:05 -05:00
2025-09-11 10:26:59 +01:00
2017-02-28 09:15:25 -03:00

Task: The Modern Task Runner

A fast, cross-platform build tool inspired by Make, designed for modern workflows.

InstallationGetting StartedDocsTwitterBlueskyMastodonDiscord

Gold Sponsors

Community Sponsors

Languages
Go 84%
Vue 4.9%
Shell 4.7%
TypeScript 4.4%
PowerShell 1.4%
Other 0.5%