mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
I've only implemented this for OS X, which comes with the 'caffeinate' command. If anyone would like to implement something similar for Linux, feel free. (Although please make sure that it's signal-safe, i.e. if the build is interrupted the computer's sleep settings return to normal.)
6.8 KiB
6.8 KiB