Andrey Nering
7373639f57
Expose .TASK
variable with the task name
...
Closes #252
2019-12-07 19:43:10 -03:00
Andrey Nering
14d7f04a81
Always expode .TIMESTAMP and .STATUS when using status:
2019-09-14 18:04:41 -03:00
Andrey Nering
1a28e5e0d4
Few code improvements on #216
2019-09-14 17:54:41 -03:00
Andrey Nering
884cd0d636
Merge branch 'CypherpunkArmory-report-timestamp-to-status' into v3
2019-09-14 17:18:42 -03:00
Andrey Nering
78595fba0b
Make "checksum" the default method in v3
2019-09-08 22:51:56 -03:00
Andrey Nering
d6a49da870
Merge branch 'master' into v3
2019-09-08 22:12:02 -03:00
Andrey Nering
84da80356d
Use stdlib instead of go-homedir
2019-09-08 22:07:48 -03:00
Andrey Nering
0e1d8a72e6
Revert "Ensure the $HOME env is being set on Windows"
...
This reverts commit 52028fc3bc5c9a80d3974b2f74efa491229df075.
2019-09-08 21:56:23 -03:00
Andrey Nering
7138785500
Merge branch 'master' into v3
2019-09-07 14:44:21 -03:00
Andrey Nering
52028fc3bc
Ensure the $HOME env is being set on Windows
2019-09-07 14:29:13 -03:00
Andrey Nering
5285ec23ae
Fix summary test on Windows
2019-09-01 22:26:53 -03:00
Andrey Nering
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
Stephen Prater
a1aec8178a
Export Time Struct to Template
2019-08-25 13:36:48 -07:00
Stephen Prater
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
Stephen Prater
1ee684b7c0
Expose timestamp and checksum to status
2019-08-25 09:39:39 -07:00
jaedle
af5d9c952d
assert error message
2019-08-19 21:01:01 +02:00
jaedle
0f385f9f4e
remove v1
2019-08-18 17:37:21 +02:00
Andrey Nering
7f082a821d
Merge branch 'v3' into colored-output
2019-06-15 22:42:15 -03:00
Andrey Nering
4cee4aa5a8
Fix typo
2019-06-15 21:58:37 -03:00
Andrey Nering
0608782cfa
Merge pull request #205 from CypherpunkArmory/add-precondition-to-task
...
Add Preconditions to Tasks
2019-06-15 21:55:20 -03:00
Stephen Prater
cc9264854e
Change error output
2019-06-11 12:20:56 -07:00
Stephen Prater
d1463b3e24
Fix typos per review
2019-06-11 11:46:22 -07:00
Marco Molteni
c663c5c507
When "dir:" attribute points to a non-existing dir, create it
...
Closes #209
2019-06-04 18:58:22 +02:00
Marco Molteni
1e93c38307
Task directory: test when "dir:" attribute points to an existing dir
2019-06-04 18:36:35 +02:00
Marco Molteni
81baf808c9
Task directory: test default case (no "dir:" attribute)
2019-06-04 18:24:01 +02:00
Marco Molteni
74537689dc
Fix spelling
2019-06-04 08:08:25 +02:00
Stephen Prater
044d3a0ff9
Remove ignore_errors
2019-05-28 13:02:59 -07:00
Andrey Nering
8efc38ad82
Use colors for some output messages
2019-05-26 18:36:39 -03:00
Stephen Prater
bd5882f0f0
Add Preconditions to Tasks
2019-05-17 13:51:15 -07:00
jaedle
808542bed0
remove unnecassry test for multiple summaries
2019-03-04 12:13:13 +01:00
jaedle
93bfd57856
print summary for multiple tasks
2019-03-04 12:09:58 +01:00
jaedle
3ca590b185
display summary for tasks without summary/description
2019-02-24 19:02:44 +01:00
jaedle
4dcb124693
print commands on summary only if commands are present
2019-02-24 16:08:32 +01:00
jaedle
31ecf167cc
rename to summary in test fixtures
2019-02-24 15:54:11 +01:00
jaedle
d05d418c4c
renaming field in taskfile to summary
2019-02-24 15:37:02 +01:00
jaedle
06d0af7a1d
rename details in Executor to summary
2019-02-24 15:33:09 +01:00
jaedle
1c3082ffa6
rename test fixture
2019-02-24 14:48:48 +01:00
jaedle
db1d3183b6
refatoring
2019-02-24 14:32:47 +01:00
jaedle
fb666394fc
refatoring
2019-02-24 14:31:29 +01:00
jaedle
8dd87dc482
refactoring
2019-02-24 14:23:44 +01:00
jaedle
b2edbf05a1
refactoring
2019-02-24 14:20:39 +01:00
jaedle
6fb53a406b
remove unusued expectations
2019-02-24 14:18:51 +01:00
jaedle
b05fa0821d
move expectations for output to testdata
2019-02-24 14:18:07 +01:00
jaedle
0a808b1212
fix swapped expected and actual parameter
2019-02-24 14:10:46 +01:00
jaedle
f1d83e92a7
print command stub on details
2019-02-24 14:08:27 +01:00
jaedle
31b60f7f60
display task name on details
2019-02-24 14:01:53 +01:00
jaedle
c0f9af5daa
refactoring
2019-02-24 12:15:59 +01:00
jaedle
b25a9e8884
refactoring
2019-02-24 12:13:18 +01:00
jaedle
1ac6f17e6a
should not surpress empty lines expect on last line
2019-02-24 11:58:44 +01:00
jaedle
b97221cdb2
ignore empty lines on description
2019-02-24 11:31:25 +01:00