Valentin Maerten
be4155ab54
update docs
2025-02-23 12:56:47 +01:00
Valentin Maerten
d3e0fc9eea
add docs
2025-02-23 12:20:27 +01:00
Valentin Maerten
461714a899
feat: add a new .taskrc.yml to enable experiments ( #1982 )
2025-02-23 10:51:59 +01:00
Henrique Corrêa
0e23404d23
feat: specify --init filename/path ( #2018 )
...
* feat: specify init filename with --taskfile flag
previously, it was not possible to specify which filename to use when initializing a new Taskfile as it was hardcoded as "Taskfile.yml".
now the --taskfile flag specifies where to write the file to, and the first * contained in it will be replaced by "Taskfile", so `task -it *.yaml` will create a `Taskfile.yaml` file.
* docs: update CLI reference
* fix Flags header being inside tip admonition
* change -t flag's default column and add a description
* add Default Filenames section
* docs: revert adding Default Filenames section
I didn't realize it already existed elsewhere.
* refactor: use path instead of filepath on InitTaskFile
as requested to prevent ambiguity with the stdlib package.
* fix TestInit (incorrectly merged)
* docs: remove outdated info on --taskfile flag
* refactor task initialization changes
- remove const DefaultTaskInitFilename from taskfile/taskfile.go
- revert description of Entrypoint flag
- make InitTaskfile accept a path to either a file or a directory, and join the default Taskfile name+ext to it if it is a directory
- take the target file path from the first argument instead of the Entrypoint flag
- detect extension-only filenames (".yaml") instead of replacing "*" with "Taskfile"
- use different format in success log so that it makes sense at different paths than the current dir
* print colon instead of "at"
it's a lot cleaner in most cases.
* rewrite init tests
test both initializing to a directory path and a file path
* return final path from InitTaskfile
...and print it's relative representation
* fix lint error (ineffassign)
* use filepathext.TryAbsToRel() instead
* define and use filepathext.IsExtOnly()
* link to default filenames list in cli ref docs
(specifically in the --taskfile flag description)
2025-02-10 11:22:49 +00:00
Valentin Maerten
002b8c929a
docs: fix a typo in dotenv section
2025-02-08 16:13:34 +01:00
Pete Davison
f5121de468
docs: broken links
2025-01-26 00:56:25 +00:00
Andrey Nering
a2390d0dca
v3.41.0
2025-01-18 11:15:57 -03:00
jonathanagustin
bad2c8fcc1
docs: fix some examples to use spaces instead of tabs ( #2002 )
2025-01-18 10:04:39 -03:00
Pete Davison
27de441ed2
docs: updated installation guides ( #1989 )
...
* docs: updated installation guides
* fix: installation method titles in sidebar
* feat: add instructions for pip
* fix: anchors in installation doc
2025-01-02 18:20:29 +00:00
Oren
b588d49cfb
fix typo in usage.mdx ( #1985 )
2025-01-02 17:43:40 +00:00
Pete Davison
e5d8237053
docs: package api doc ( #1981 )
2024-12-31 16:08:58 +00:00
Niklas Rousset
c1e14c461b
feat: make CHECKSUM and TIMESTAMP vars available in cmds commands ( #1872 )
2024-12-31 16:04:42 +01:00
Valentin Maerten
9d8c4ba7e6
feat: add TASK_DIR special variable ( #1961 )
...
Co-authored-by: Pete Davison <pd93.uk@outlook.com >
2024-12-30 11:45:25 +01:00
Valentin Maerten
5f1d46c770
feat: can exclude task from being included ( #1859 )
2024-12-30 10:09:28 +01:00
Jonathan Rayner
9727eef476
docs: update Arch installation instructions ( #1971 )
2024-12-29 15:13:14 +01:00
Andrey Nering
c5be676555
chore(website): mention devowl.io as a gold sponsor
2024-12-20 10:23:01 -03:00
CeMoN24
2ab1dcbf1d
docs: fix typo ( #1896 )
2024-12-11 21:50:05 -03:00
Matthias Vogt
24a0f24835
docs: fix typo ( #1897 )
2024-12-11 21:49:42 -03:00
Martijn Pieters
82f6029043
docs: document defer task options ( #1907 )
2024-12-11 21:23:10 -03:00
Andrey Nering
32fa3a0156
v3.40.1
2024-12-06 09:59:04 -03:00
Oleksandr Redko
390220ec9c
fix: typos in docs, changelog, testdata, comments ( #1910 )
2024-11-07 13:25:59 -03:00
Andrey Nering
d8e176311d
v3.40.0
2024-11-05 22:34:38 -03:00
George Green
47f5e6ab89
docs: add an example of a default
value usage in vars ( #1893 )
2024-11-01 20:04:46 +01:00
Amogh Rameshappa Devapura
c381923d3e
feat: add numCPU func ( #1890 )
2024-10-29 14:50:17 +01:00
Matheus Mina
5581954fb1
feat: allow providing single or multi prompts ( #1866 )
...
* Add new type to handle single or multi prompts
* update docs
* apply review
2024-10-29 13:37:03 +00:00
Valentin Maerten
a35910429c
feat: option to ensure variable is within the list of values ( #1827 )
2024-10-18 18:16:57 +02:00
Valentin Maerten
e6ea0647d7
feat(remote): support include git remote ( #1652 )
2024-09-24 13:44:54 -04:00
Valentin Maerten
ddccd1bb61
feat: add TASK_OFFLINE env and expose it as a special variable ( #1716 )
...
Co-authored-by: Pete Davison <pd93.uk@outlook.com >
2024-09-21 11:17:15 -04:00
Pete Davison
58ab26c4ab
v3.39.2
2024-09-19 12:25:29 +00:00
Andrey Nering
56f3735b38
v3.39.1
2024-09-18 22:22:56 -03:00
Samuel Marks
0be05795b9
docs: exit code zero is not an error ( #1811 )
2024-09-18 22:16:59 -03:00
Valentin Maerten
84cc5e57b0
fix(completions): zsh and powershell completions ( #1809 )
2024-09-18 10:46:02 -04:00
Andrey Nering
8ab5fe0e80
chore(website): disable crowdin completely ( #1793 )
2024-09-07 21:29:03 -03:00
Pete Davison
1275ab1b5b
v3.39.0
2024-09-07 20:05:46 +00:00
Pete Davison
281d259e6e
feat: loop over a matrix ( #1767 )
2024-09-02 20:29:00 +01:00
Pete Davison
3747b2ab7f
feat: completion command ( #1157 )
2024-09-02 19:21:53 +00:00
Valentin Maerten
ef3b853728
feat: add option to declare an included Taskfile as flatten ( #1704 )
2024-08-26 17:17:39 -04:00
Thanu Poptiphueng
32158dac87
docs: fix variable name ( #1754 )
2024-08-24 22:24:42 -03:00
Andrey Nering
defbcf6acd
chore: add changelog for #1764
2024-08-24 21:57:09 -03:00
Daniel Story
045d054a5f
feat: add ALIAS
special var ( #1764 )
2024-08-24 21:50:45 -03:00
Andrey Nering
b259edeb65
feat(defer): expose EXIT_CODE
special variable to defer:
( #1762 )
...
Co-authored-by: Dor Sahar <dorsahar@icloud.com >
2024-08-14 22:53:14 -03:00
Ryan Halliday
e781b3d4e0
docs: update syslist links to the new location ( #1747 )
2024-08-09 13:14:03 +00:00
JonZeolla
81ff1cdea0
docs: fix special variables link ( #1730 )
2024-07-25 17:19:41 +00:00
Pete Davison
1f2cbfb932
chore: changelog for #1633
2024-07-16 22:48:15 +00:00
Valentin Maerten
4b6c79aca5
feat: experiment taskfile envs take precedence over os envs ( #1633 )
...
* feat: experiment taskfile envs take precedence over os envs
* fix test
* fix typo
Co-authored-by: Andrey Nering <andrey@nering.com.br >
* docs: add p about default
---------
Co-authored-by: Andrey Nering <andrey@nering.com.br >
2024-07-16 23:44:34 +01:00
Valentin Maerten
cdafc67bef
docs: add CLI_SILENT and CLI_VERBOSE in the docs ( #1717 )
2024-07-08 21:18:21 +00:00
Alessio Perugini
133086d647
docs: update setup-task version ( #1710 )
2024-07-05 11:38:44 +00:00
Pete Davison
88b095020e
v3.38.0
2024-06-30 14:50:47 +00:00
Pete Davison
6ce6a38899
chore: changelog for #1639
2024-06-28 16:44:53 +00:00
Valentin Maerten
76030c9146
feat(remote): add a command to clear the cache ( #1639 )
...
* feat(remote): add a command to clear the cache
* Update cmd/task/task.go
Co-authored-by: Andrey Nering <andrey@nering.com.br >
* rebase
---------
Co-authored-by: Andrey Nering <andrey@nering.com.br >
2024-06-28 17:42:16 +01:00