Add config to do desktop notifications by running an abitrary command.

This commit is contained in:
Simon Sapin 2017-01-13 18:51:59 +01:00
parent dc93a72997
commit 16d8c35be4
2 changed files with 35 additions and 14 deletions

View file

@ -27,6 +27,12 @@ system-cargo = false
# Defaults to true
rustc-with-gold = true
# If uncommented, this command is used instead of the platforms default
# to notify at the end of a compilation that took a long time.
# This is the name or path of an executable called with two arguments:
# the summary and content of the notification.
#notify-command = "notify-send"
[build]
# Set "mode = dev" or use `mach build --dev` to build the project with warning.
# or Set "mode = release" or use `mach build --release` for optimized build.