Valentin Maerten b00d2bafb6 test(completion): drop the binary-building protocol tests
completion/protocol_test.go built a `task` binary in TestMain and drove it through 21 subprocess spawns. Every one of its table cases already had a one-for-one in-process equivalent in internal/complete, and the wire format is asserted by TestWrite_Format.

The one guarantee worth keeping was the `-t -` guard, which stops a keystroke from blocking on a Taskfile read from the terminal. It moves from cmd/task into complete.NeedsTaskfile, where it reads the flagset instead of the flags package global — testable in-process, and one less global read in cmd/task.

TestCompletionShells moves to internal/complete unchanged, and the in-process wildcard fixture gains `matches-exactly-*`, the only pattern of testdata/wildcards it was missing.

The binary path stays covered end to end by completion/tests/run.sh, which the CI completion job runs against five real shells on Linux and macOS.
2026-08-20 14:50:45 +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
2026-08-11 22:09:25 +02:00
2025-04-19 12:55:22 +01:00
2026-08-11 22:09:25 +02:00
2024-08-14 08:37:05 -05: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

JetBrains logo
Package hosting provided by Cloudsmith. Tooling provided by JetBrains.
Description
A task runner / simpler Make alternative written in Go
Readme MIT 43 MiB
Languages
Go 83.8%
TypeScript 4.8%
Vue 4.5%
Shell 3.9%
Nushell 1.3%
Other 1.7%