1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Files
mage/parse
Peter McAtominey a9206042d4 mage: cancel context on SIGINT (#313)
* mage: cancel context on SIGINT

On receiving an interrupt signal, mage cancels the context allowing the magefile
to perform any cleanup before exiting.

A second interrupt signal will kill the magefile process without delay.

The behaviour for a timeout remains unchanged (context is cancelled and the magefile
exits).

* mage: add cleanup timeout to cancel

Co-authored-by: Nate Finch <nate.finch@gmail.com>
2022-11-28 23:35:45 -05:00
..
2020-01-13 23:53:11 -05:00
2022-11-28 23:35:45 -05:00