Valentin Maerten e3b6ed4a03 test(completion): test the __complete protocol in Go, thin shell smokes
Follow cobra's testing philosophy: the completion protocol (candidates +
directive) is business logic and belongs in Go, while the shell wrappers only
need to be checked for how they interpret each directive.

- Add completion/protocol_test.go: a table-driven black-box test that runs the
  real `task __complete` binary and asserts the offered values and the emitted
  directive. Unlike the in-process engine tests, it exercises the actual
  entrypoint dispatch, runComplete wiring and — crucially — the real flag set,
  so it catches drift between the completion enum/directive maps and the flag
  definitions. Runs on every OS, including Windows where the shell smokes don't.
- Delete completion/tests/engine.sh (the protocol is now covered in Go) and drop
  it from run.sh.
- Reduce the bash/zsh/fish/powershell smokes to directive routing only (files vs
  dirs vs no-files vs no-space), removing the task/alias/var assertions that the
  Go tests already own.
2026-07-03 23:00:50 +02:00
2026-06-29 14:13:37 +00:00
2025-05-01 18:43:43 +01:00
2026-06-29 14:13:37 +00:00
2025-04-19 12:55:22 +01:00
2024-09-02 19:21:53 +00:00
2026-06-29 14:13:37 +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
2026-06-29 14:13:37 +00: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

Description
A task runner / simpler Make alternative written in Go
Readme MIT 36 MiB
Languages
Go 85.2%
Vue 4.5%
Shell 4.4%
TypeScript 4.1%
PowerShell 1.3%
Other 0.5%