1
0
mirror of https://github.com/go-task/task.git synced 2025-07-17 01:43:07 +02:00
Commit Graph

331 Commits

Author SHA1 Message Date
d718527a1f Merge branch 'master' into v3 2019-12-07 16:54:29 -03:00
48add0f293 Write more args tests 2019-12-07 16:48:23 -03:00
a4685229c9 Fix bug of Task not executing the "default" task
When global vars were informed using the CLI.

I took the oportunity to move this logic to the proper package and
write a test.
2019-12-07 16:20:36 -03:00
1d3b93d88d Remove bold from colored text 2019-11-24 21:07:12 -03:00
62752ba7e1 Merge branch 'master' into v3 2019-11-24 21:02:33 -03:00
09d5d802d0 Upgrade mvdan.cc/sh to v3.0.0-beta1 2019-11-24 19:17:09 -03:00
5acdb041a9 Merge branch 'master' into v3 2019-11-02 22:16:44 -03:00
9a8442c946 Update some tools and fix error and calling exit 0
Fixes #251
2019-10-27 18:14:22 -03:00
1a28e5e0d4 Few code improvements on #216 2019-09-14 17:54:41 -03:00
884cd0d636 Merge branch 'CypherpunkArmory-report-timestamp-to-status' into v3 2019-09-14 17:18:42 -03:00
78595fba0b Make "checksum" the default method in v3 2019-09-08 22:51:56 -03:00
8020284b12 Add global method: option to set default method 2019-09-08 22:51:14 -03:00
d6a49da870 Merge branch 'master' into v3 2019-09-08 22:12:02 -03:00
0e1d8a72e6 Revert "Ensure the $HOME env is being set on Windows"
This reverts commit 52028fc3bc.
2019-09-08 21:56:23 -03:00
bbdd698869 Upgrade mvdan.cc/sh to use edge 2019-09-08 21:55:02 -03:00
7138785500 Merge branch 'master' into v3 2019-09-07 14:44:21 -03:00
d8005b4cf6 Fix typo 2019-09-07 14:32:02 -03:00
52028fc3bc Ensure the $HOME env is being set on Windows 2019-09-07 14:29:13 -03:00
1a33f9168b Merge branch 'report-timestamp-to-status' of https://github.com/CypherpunkArmory/task into CypherpunkArmory-report-timestamp-to-status 2019-09-01 21:44:23 -03:00
1b8998e7a2 Merge pull request #237 from jaedle/v3
Remove all code related support of version 1
2019-08-25 18:11:47 -03:00
dc8fb79759 Merge branch 'master' into v3 2019-08-25 18:05:40 -03:00
6b0935d6cf Fix tests 2019-08-25 13:47:29 -07:00
d1183ce272 Merge branch 'master' into report-timestamp-to-status
* master:
  Update CHANGELOG
  Small improvements to #228
  Fix a typo
  Fix Checksum.IsUpToDate
  Remove directory check
  Update glob.go
  Separate error handlings for readability
  Re-run the task if generated files do not exist
2019-08-25 13:46:02 -07:00
a1aec8178a Export Time Struct to Template 2019-08-25 13:36:48 -07:00
0d9fdbaac1 Small improvements to #228 2019-08-25 16:32:25 -03:00
f5cd3eab9e Merge pull request #228 from topecongiro/checksum-look-for-generated
Re-run the task if generated files do not exist
2019-08-25 16:32:03 -03:00
cb6fe4bb59 Merge remote-tracking branch 'upstream/v3' into report-timestamp-to-status
* upstream/v3:
  v3.0.0-preview1
  Update v3 changelog
  Only have colored output on v3
  Add --color=false flag to disable colored output
  Update documentation about sprig
  Update CHANGELOG
  Migrate from sprig to slim-sprig
  Fix build after merging master
  Use colors for some output messages
2019-08-25 10:33:13 -07:00
db36bc67f1 Changes per feedback 2019-08-25 10:30:00 -07:00
1ee684b7c0 Expose timestamp and checksum to status 2019-08-25 09:39:39 -07:00
93005512b4 cleanp taskfile reader 2019-08-24 06:28:12 +02:00
8987cd64a0 Fix a typo 2019-08-21 13:42:19 +09:00
fac51dcf03 Fix Checksum.IsUpToDate
- Check whether generates exist after the creation of checksum file
- Check whether generates exist if only the user specified generates fields
- Check for each generates field instead of taking it as a whole
2019-08-21 13:35:16 +09:00
01101a4c9b Remove directory check 2019-08-21 13:34:58 +09:00
d561e40817 Update glob.go
- Rename glob() to globs()
- Add glob() which handles a single glob pattern
- Change glob() and globs() so that they do not return directoreis
2019-08-21 13:33:12 +09:00
0cb298ebdf Separate error handlings for readability 2019-08-19 13:00:10 +09:00
0f385f9f4e remove v1 2019-08-18 17:37:21 +02:00
d5a791b470 Merge branch 'master' into v3 2019-08-11 23:03:58 -03:00
955359b073 Fix nil panic bug when assigning global var and no var is declared on the Taskfile
Closes #229
Ref #234
2019-08-10 19:38:57 -03:00
26e0c0887a Re-run the task if generated files do not exist 2019-08-01 13:08:53 +09:00
d970e93507 Add --taskfile flag (alias -t) to allow running another Taskfile
Closes #221
2019-07-21 10:57:04 -03:00
0e575e9c25 Add --color=false flag to disable colored output 2019-07-07 14:13:53 -03:00
fb23ba9878 Merge branch 'v3' into colored-output 2019-07-07 14:04:12 -03:00
bd5fb9be03 Migrate from sprig to slim-sprig 2019-06-22 22:17:24 -03:00
7f082a821d Merge branch 'v3' into colored-output 2019-06-15 22:42:15 -03:00
abe0352de9 Fixed some bugs regarding minor version checks on version:
1. I have forgot to update it on recent releases. Seems that most people just
   use round versions since nobody complained.
2. It's too hard to understand how the github.com/Masterminds/semver package
   works, so I just got rid of it and we're now using plain float checks.
2019-06-15 22:39:35 -03:00
d1463b3e24 Fix typos per review 2019-06-11 11:46:22 -07:00
044d3a0ff9 Remove ignore_errors 2019-05-28 13:02:59 -07:00
659cae6a4c Apply suggestions from code review
Co-Authored-By: Andrey Nering <andrey.nering@gmail.com>
2019-05-28 12:28:29 -07:00
8efc38ad82 Use colors for some output messages 2019-05-26 18:36:39 -03:00
bd5882f0f0 Add Preconditions to Tasks 2019-05-17 13:51:15 -07:00