Andrey Nering
0e1d8a72e6
Revert "Ensure the $HOME env is being set on Windows"
...
This reverts commit 52028fc3bc
.
2019-09-08 21:56:23 -03:00
Andrey Nering
bbdd698869
Upgrade mvdan.cc/sh to use edge
2019-09-08 21:55:02 -03:00
Andrey Nering
d8005b4cf6
Fix typo
2019-09-07 14:32:02 -03:00
Andrey Nering
52028fc3bc
Ensure the $HOME env is being set on Windows
2019-09-07 14:29:13 -03:00
Andrey Nering
0d9fdbaac1
Small improvements to #228
2019-08-25 16:32:25 -03:00
Andrey Nering
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
Seiichi Uchida
8987cd64a0
Fix a typo
2019-08-21 13:42:19 +09:00
Seiichi Uchida
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
Seiichi Uchida
01101a4c9b
Remove directory check
2019-08-21 13:34:58 +09:00
Seiichi Uchida
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
Seiichi Uchida
0cb298ebdf
Separate error handlings for readability
2019-08-19 13:00:10 +09:00
Andrey Nering
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
Seiichi Uchida
26e0c0887a
Re-run the task if generated files do not exist
2019-08-01 13:08:53 +09:00
Andrey Nering
d970e93507
Add --taskfile flag (alias -t) to allow running another Taskfile
...
Closes #221
2019-07-21 10:57:04 -03:00
Andrey Nering
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
Stephen Prater
d1463b3e24
Fix typos per review
2019-06-11 11:46:22 -07:00
Stephen Prater
044d3a0ff9
Remove ignore_errors
2019-05-28 13:02:59 -07:00
Stephen Prater
659cae6a4c
Apply suggestions from code review
...
Co-Authored-By: Andrey Nering <andrey.nering@gmail.com>
2019-05-28 12:28:29 -07:00
Stephen Prater
bd5882f0f0
Add Preconditions to Tasks
2019-05-17 13:51:15 -07:00
Andrey Nering
83d618e1eb
Revert "Upgrade to yaml/go-yaml v3"
...
This reverts commit 8001fb3915
.
2019-05-11 11:22:13 -03:00
Andrey Nering
f0768b3af1
Allow setting global variables through the CLI
...
Closes #192
2019-05-11 11:06:47 -03:00
Andrey Nering
90613220c6
Fixes some bugs relatated to commands output handling
...
This seems to fix some of the bugs reported by issues like #114 and #190 .
Seems that the standard library's os/exec package has some black magic to
detect if a writer is an actual *os.File, and some stuff are handled
differently, then.
Fixes #114
Fixes #190
2019-04-21 16:55:47 -03:00
Andrey Nering
8001fb3915
Upgrade to yaml/go-yaml v3
2019-04-13 17:25:28 -03:00
Kirill Motkov
53d54d1c4a
Rewrite if-else chain to switch statement
2019-03-19 14:19:21 +03:00
jaedle
360da29e1f
refactoring
2019-03-04 13:04:04 +01:00
jaedle
9cfac1642a
rename method for summary/summaries
2019-03-04 13:03:13 +01:00
jaedle
1d783bf6c7
refactoring
2019-03-04 12:47:01 +01:00
jaedle
1025c2e3a1
add unit test for spacing between summaries
2019-03-04 12:46:02 +01:00
jaedle
4fd82ab222
refactoring
2019-03-04 12:28:26 +01:00
jaedle
8eadfc1bf6
refactoring
2019-03-04 12:28:11 +01:00
jaedle
f66edbad50
refactoring
2019-03-04 12:27:10 +01:00
jaedle
c7f17b5319
refactoring
2019-03-04 12:25:42 +01:00
jaedle
7e7e1bccba
rearrange imports
2019-03-04 12:04:31 +01:00
jaedle
34f6da86c3
rearrange imports
2019-03-04 12:03:28 +01:00
Andrey Nering
f945cf2343
Update internal/summary/summary_test.go
...
Co-Authored-By: jaedle <32975714+jaedle@users.noreply.github.com>
2019-03-03 19:45:00 +01:00
Andrey Nering
f5f0e0c376
Update internal/summary/summary.go
...
Co-Authored-By: jaedle <32975714+jaedle@users.noreply.github.com>
2019-03-03 19:43:57 +01:00
jaedle
2a1571a99e
refactoring
2019-02-24 19:14:15 +01:00
jaedle
3f8ee21849
print error messsage if no summary or description present
2019-02-24 18:26:16 +01:00
jaedle
845b88a193
print only task name if summary
2019-02-24 18:20:59 +01:00
jaedle
e252972c7f
rename test
2019-02-24 17:29:03 +01:00
jaedle
a9012ebfc5
refactoring
2019-02-24 17:28:06 +01:00
jaedle
5cfd9bbbbd
refactoring
2019-02-24 17:25:03 +01:00
jaedle
c82a7240bb
print task in command section
2019-02-24 17:23:31 +01:00
jaedle
a4a20d92a4
add unit test for full output
2019-02-24 17:20:29 +01:00
jaedle
890996f595
hides commands keywoard if not present
2019-02-24 17:12:22 +01:00
jaedle
474f27c6d3
add unit test for displaying commands
2019-02-24 17:10:59 +01:00
jaedle
33f3894372
add unit tests for summary
2019-02-24 17:05:37 +01:00
jaedle
24436ac76e
refactoring
2019-02-24 16:26:46 +01:00
jaedle
3ee66ef705
remove output to own package
2019-02-24 16:25:27 +01:00
jaedle
d05d418c4c
renaming field in taskfile to summary
2019-02-24 15:37:02 +01:00