Pete Davison
0838d48ee3
refactor: decouple fingerprinting from executor ( #1039 )
2023-03-10 15:27:30 -03:00
Pete Davison
f1506ee500
fix: status and sources
2023-03-07 00:30:24 +00:00
Harel Wahnich
99ab2a4d62
for task up to date check both status and sources ( #1035 )
...
* remove redundant if statement
* add subtests to TestStatusChecksum
2023-03-05 22:16:41 -08:00
Amin Yahyaabadi
347fcf9f67
fix: avoid reruns when the timestamp method is used ( #977 )
2023-01-14 17:17:36 -03:00
Andrey Nering
fedb68cde7
Allow override the .task
dir location with the TASK_TEMP_DIR
env
2022-07-08 14:40:10 -03:00
Andrey Nering
1f9fd24064
Small improvement and CHANGELOG for #477
2021-07-10 21:58:03 -03:00
mrngsht
58c69e36a1
Evaluate sources also if status is up-to-date
2021-04-21 21:56:25 +09:00
Andrey Nering
ec4cd5ed48
Fix .task
directory location
...
Closes #247
2021-01-07 11:36:09 -03:00
Andrey Nering
e09e75b0ba
Fix a bug when the checksum up-to-date resolution is used by a task with a custom label:
attribute
...
Closes #412
Co-authored-by: Adam Wasila <adam.wasila@gmail.com>
2021-01-03 19:22:38 -03:00
Damian Szulc
47dd9b5a03
Move args and taskfile packages to root directory
2020-08-19 10:59:58 +02:00
Andrey Nering
fb72b46a3c
github.com/go-task/task/v2 -> github.com/go-task/task/v3
2020-08-16 15:48:19 -03:00
Adam Wasila
9f83311931
Add label field to task definition
...
Label is an alternative name for task that replace it when printed in following context eg.:
- log: when given task is up to date and is skipped from execution
- log: when given task is NOT up to date (`--status` command)
- in `--summary` and `--list` commands output
2020-06-14 13:42:20 +02:00
Andrey Nering
14d7f04a81
Always expode .TIMESTAMP and .STATUS when using status:
2019-09-14 18:04:41 -03:00
Andrey Nering
78595fba0b
Make "checksum" the default method in v3
2019-09-08 22:51:56 -03:00
Andrey Nering
8020284b12
Add global method: option to set default method
2019-09-08 22:51:14 -03:00
Andrey Nering
dc8fb79759
Merge branch 'master' into v3
2019-08-25 18:05:40 -03:00
Seiichi Uchida
26e0c0887a
Re-run the task if generated files do not exist
2019-08-01 13:08:53 +09:00
Andrey Nering
dd9cdb0ec9
Fix build after merging master
2019-06-15 22:47:15 -03:00
Stephen Prater
bd5882f0f0
Add Preconditions to Tasks
2019-05-17 13:51:15 -07:00
Andrey Nering
902f0d3ac4
Don't persist new checksum on the disk if dry mode is enabled
...
Fixes #166
2019-02-09 10:44:35 -02:00
Andrey Nering
713ecd35f6
Pass context as an argument
2019-02-09 10:16:13 -02:00
Andrey Nering
3cbc89769d
Re-write import paths to v2
2018-11-04 21:23:35 -02:00
Andrey Nering
b5b2649283
Fix broken --status flag
...
Fixes #139
2018-10-06 17:55:23 -03:00
Andrey Nering
8bdf5c554d
Fixes after updating mvdan.cc/sh
2018-09-01 11:02:23 -03:00
Andrey Nering
152fc0ad38
Move all structs related to Taskfile to its own package
2018-02-17 14:22:18 -02:00
Andrey Nering
134c6b79c4
Add Taskfile struct and start implementing new format
...
Updates #54 , #66 and #77
2017-12-29 18:46:15 -02:00
Andrey Nering
78f6cb08d8
Add --status flag to check is a task is up-to-date
...
Closes #81
2017-12-26 21:43:52 -02:00
Andrey Nering
33b167215d
move some packages to the "internal" directory
...
- this makes it impossible to import these packages outside Task
- as a side effect, it makes the root directory cleaner
2017-10-15 17:58:21 -02:00
Andrey Nering
c295a1998a
add checksum based status check, alternative to timestamp based
2017-09-17 11:06:47 -03:00
Andrey Nering
9704dc5734
reuse of minTime and maxTime funcs
2017-07-30 20:00:35 -03:00
Andrey Nering
f54dde4f78
func isUpToDate should be bound to Task struct
2017-07-30 19:45:59 -03:00
Andrey Nering
dc6cb68327
rename file.go to status.go, and move related code there
2017-07-16 16:15:29 -03:00