mirror of
https://github.com/magefile/mage.git
synced 2026-10-24 06:19:18 +03:00
* 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>