A task runner / simpler Make alternative written in Go
MIT License
Bot releases are visible (Hide)
Published by task-bot over 1 year ago
TASK_VERSION
special variable (#990, #1014 by @ja1code).FORCE_COLOR
support to force color output. Usefull for environments without TTY (#1003 by @automation-stack)Published by task-bot almost 2 years ago
timestamp
mode (#976, #977 by @aminya).set
and shopt
builtins (#908, #929 by @pd93, Documentation).platforms:
attribute to task
and cmd
, so it's now possible to choose in which platforms that given task or command will be run on. Possible values are operating system (GOOS), architecture (GOARCH) or a combination of the two. Example: platforms: [linux]
, platforms: [amd64]
or platforms: [linux/amd64]
. Other platforms will be skipped (#978, #980 by @leaanthony).Published by task-bot almost 2 years ago
I hope everyone had a great Christmas 🎄 and I wish all an incredible 2023 as well 🌟 🎆
This release includes mostly small bug fixes, but it also included support to the brand new --json
flag.
Taskfile.yml
once we're done reading it (#963, #964 by @HeCorr).Taskfile_{{OS}}.yml
file (#961, #971 by @pd93).--json
flag (alias -j
) with the intent to improve support for code editors and add room to other possible integrations. This is basic for now, but we plan to add more info in the near future (#936 by @davidalpert, #764).Published by task-bot almost 2 years ago
USER_WORKING_DIR
special variable was added to add even more flexibility for monorepos (#289, #920).dotenv
support (#389, #904).includes
(#942, #943).Special thanks to @pd93 for working on 3 of the topics above. Some other important contributions in recent releases were from him as well.
Also, thanks @appwrite for sponsoring Task as part of their OSS Fund Program.
Published by task-bot almost 2 years ago
task --list --silent
(task --ls
). This means that aliases will be completed by the completion scripts (#919).--list
/--list-all
output (#806, #890).default
task in an included Taskfile by using just the namespace. For example: docs:default
is now automatically aliased to docs
(#661, #815).Published by task-bot about 2 years ago
aliases
for tasks and namespaces (#268, #340, #879).interval: '500ms'
or using the --interval=500ms
flag (#813, #865).--list
, --list-all
and --summary
flags (#845, #874).label:
was being shown instead of the task name on --list
(#603, #877).Published by task-bot about 2 years ago
npm
as new installation method: npm i -g @go-task/cli
(#870, #871, npm package).--list
and --list-all
(#818).Published by task-bot about 2 years ago
Published by task-bot over 2 years ago
.task
directory location with the TASK_TEMP_DIR
environment variable.TASK_COLOR_RESET
, TASK_COLOR_BLUE
, TASK_COLOR_GREEN
, TASK_COLOR_CYAN
, TASK_COLOR_YELLOW
, TASK_COLOR_MAGENTA
and TASK_COLOR_RED
(#568, #792).output: group
mode where STDOUT and STDERR were being print in separated blocks instead of in the right order (#779).Published by task-bot over 2 years ago
Published by andreynering over 2 years ago
--list
and --list-all
flags can now be combined with the --silent
flag to print the task names only, without their description (#691).Published by andreynering over 2 years ago
group
output mode, useful for grouping tasks in CI systems. Check out the documentation for more information (#647, #651).Taskfile.dist.yml
and Taskfile.dist.yaml
to the supported file name list. Check out the documentation for more information (#498, #666).Published by andreynering almost 3 years ago
--list-all
(alias -a
) flag is now available. It's similar to the existing --list
(-l
) but prints all tasks, even those without a description (#383, #401).defer:
keyword (Documentation, #475, #626).$
variable prefix and ^
command prefix (#642, #644, #645)..yaml
extension (as an alternative to .yml
). This was requested multiple times throughout the years. Enjoy! (#183, #184, #369, #584, #621).Published by andreynering almost 3 years ago
Published by andreynering almost 3 years ago
{{.CLI_ARGS}}
argument to prevent one with spaces to become many (#613).cmd:
was left empty (#612, #614).shellQuote
(#609, mvdan/sh#763).Published by github-actions[bot] about 3 years ago
shellQuote
function was added to the template system ({{shellQuote "a string"}}
) to ensure a string is safe for use in shell (mvdan/sh#727, mvdan/sh#737, Documentation)read -p
flag is now supported (#314, mvdan/sh#551, mvdan/sh#772)pwd -P
and pwd -L
flags are now supported (#553, mvdan/sh#724, mvdan/sh#728)$GID
environment variable is now correctly being set (#561, mvdan/sh#723)Published by github-actions[bot] about 3 years ago