Andrey Nering
0ec8cf1b53
Hide signals tests behind a build tag
...
Testing signals requires additional executables to be available in the $PATH
and can intermittently fail as well.
Add a build tag, which means these specific tests will only run when requested.
Closes #780
2022-06-15 10:06:38 -03:00
Andrey Nering
7989f73f06
Fix behavior of interrupt (SIGINT, SIGTERM) signals
...
Task will now give time for the processes running to do cleanup work
Ref #458
Ref #479
Fixes #728
Co-authored-by: Marco Molteni <marco.molteni@pix4d.com>
Co-authored-by: aliculPix4D <aleksandar.licul_ext@pix4d.com>
2022-06-11 22:43:22 -03:00
Andrey Nering
1b6d421a5b
Fix missing https://taskfile.dev/install.sh
...
Fixes #746
2022-05-29 18:58:23 -03:00
Andrey Nering
d450444596
Temporarily revert #479
2022-05-22 16:54:35 -03:00
Andrey Nering
9e1d4e7855
Add golangci-lint
...
https://golangci-lint.run/
2022-05-15 21:30:07 -03:00
Marco Molteni
bffb6e1a07
add regression test for SIGINT behavior
...
See go-task/task/#458
Helper (sleepit) and test code based on https://github.com/marco-m/timeit
2022-05-13 17:36:52 -07:00
Andrey Nering
f0cd7d27fb
Taskfile: Set CGO_ENABLED=0 globally
...
We want that also for running tests, and not only for building it.
2021-03-07 09:30:33 -03:00
Andrey Nering
9f125502f8
Update Taskfile.yml
...
We now use modules. Dep is history
2020-12-05 19:10:49 -03:00
Andrey Nering
49bf395f61
Remove the vendor/ directory
2020-08-16 15:46:22 -03:00
Andrey Nering
b2a56161bb
Make ./docs/Taskfile.yml run on ./docs
2020-02-16 11:20:53 -03:00
Andrey Nering
15338ecb18
Merge branch 'master' into v3
2019-12-07 22:04:16 -03:00
Andrey Nering
4bdfe64afb
Add hability silent all tasks
...
By add `silent: true` at the root of the Taskfile.
2019-12-07 21:44:09 -03:00
Andrey Nering
b7b752b92f
Allow shorter syntax for tasks with default configuration
...
Closes #194
Closes #240
Co-authored-by: Jaedle <dennis.jekubczyk@gmail.com>
2019-12-07 21:28:02 -03:00
Andrey Nering
623db0ed94
Only have colored output on v3
2019-07-07 14:18:02 -03:00
Andrey Nering
4817d8c67f
Move documentation tasks to its own Taskfile
2019-01-02 13:42:06 -02:00
Andrey Nering
a52f6c0acf
Switch to Go modules
...
Let's keep the vendor directory for a while to not break Task for
users that install it using `go get`.
Closes #119
2018-10-27 17:01:14 -03:00
Andrey Nering
5720936247
Fix CI
2018-10-13 18:29:23 -03:00
Andrey Nering
318f9b216d
Fix typo
2018-09-24 21:52:14 -03:00
Andrey Nering
61247a0b2a
Cosmetic changes
2018-09-24 21:42:33 -03:00
Andrey Nering
9ee224c36b
Documentation site using docsify
2018-09-22 18:44:24 -03:00
Andrey Nering
fe31f5050d
Taskfile.yml improvements
2018-07-15 15:42:46 -03:00
Andrey Nering
102f8ab74e
Expand environment variables on "dir", "sources" and "generates"
...
So a path like this works: $GOPATH/src/github.com/go-task/task
Allowing of "~" was also implemented. See #74 and baac067a1a
Fixes #116
2018-06-16 14:30:40 -03:00
Andrey Nering
a830dba5da
Taskfile: Disable CGO
2018-06-16 14:24:50 -03:00
Andrey Nering
6be994f1ca
Write test for ouput types
2018-04-22 21:40:03 -03:00
Andrey Nering
2cb2668803
Fix Travis CI
2018-04-07 15:36:37 -03:00
Andrey Nering
96db9a9410
Using godownloader to generate a install script
...
Closes #78
2018-04-07 15:07:43 -03:00
Andrey Nering
0cd34bbebc
Move variables from Taskvars to Taskfile
2018-04-07 14:42:24 -03:00
Andrey Nering
2183e1e9f5
Improve release process and testing automatic release on new tag using Travis
2018-03-11 15:31:27 -03:00
Andrey Nering
4f368923a5
Upgrade own Taskfile to version 2
2018-03-04 16:20:26 -03:00
Andrey Nering
975f262ac0
Fix "test-release" task
...
Goreleaser changed some flags
2018-03-04 11:06:19 -03:00
Andrey Nering
1cb4a3b8d5
Fix CI
...
Goreleaser now requires Go 1.10, but we still support Go 1.8
2018-03-04 10:57:46 -03:00
Andrey Nering
040cef1479
Fix usage of "dep"
...
Now, "dep prune" should not be run, and instead pruning options should be set on Gopkg.toml
2018-02-11 22:00:40 -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
0513a21e25
update dependencies
...
also make sure the module that enables /dev/null path of the sh
interpreter is enabled
2017-10-15 17:41:15 -02:00
Andrey Nering
309bc4ee4c
checksum: add tests for filename
2017-10-01 15:06:12 -03:00
Andrey Nering
f3097845b4
allow assigning variables to tasks at run time via CLI
...
using a similar syntax than setting env variables to command in bash,
but used right after the task:
```bash
task print MESSAGE=Hello!
```
closes #33
2017-09-07 13:57:06 -03:00
Andrey Nering
dc1ec77da5
own Taskfile: non-verbose test
2017-07-30 19:26:18 -03:00
Andrey Nering
55672410cd
own Taskfile: small improvement of lint task
2017-07-19 20:24:40 -03:00
Andrey Nering
e781ac2512
own Taskfile: add task "todo" to print TODOs in code
2017-07-15 13:58:03 -03:00
Andrey Nering
fdd7e7f2a8
add own Taskfile.yml file
2017-07-05 21:06:12 -03:00
Andrey Nering
81d221667b
update deps
2017-06-16 14:59:12 -03:00
Andrey Nering
685b9ae293
improvements on release process
2017-06-14 15:28:35 -03:00
Andrey Nering
ba494702ed
Taskfile: add update-deps task
2017-06-14 14:00:07 -03:00
Andrey Nering
9beef8b99b
Downloading goreleaser as a cli dep
2017-04-24 10:48:57 -03:00
Andrey Nering
1386018c1c
v1.3.0
2017-04-24 10:46:42 -03:00
Andrey Nering
70cb1af80e
Fix Travis
2017-04-24 10:39:24 -03:00
Andrey Nering
7077b0ce65
Fix golint
2017-04-24 10:28:04 -03:00
Andrey Nering
1cabfc636f
Add descs to Taskfile
2017-03-19 15:18:59 -03:00
Andrey Nering
06633e2f99
Write first test for deps
2017-03-15 21:15:27 -03:00
Andrey Nering
ae8f405ef9
Have a lint task
2017-03-02 21:06:52 -03:00