-
Notifications
You must be signed in to change notification settings - Fork 27
Configuration
dcrec1 edited this page Sep 12, 2010
·
1 revision
Run an-install with optional parameters to configure and turn on the notifier. The optional parameters are:
- -s, —speaking – the computer will speak the results
- -d, —doom – special doom edition (only for Mac)
- -b, —buuf – special buuf images
- —pending – shows a different image when there are no errors/failures but there are pending specs (only for Mac)
- —sticky – keep notification on screen in case of errors/failures or pending specs (only for Mac)
- —success-sound=PATH – sound to play on success (only for Mac)
- —failure-sound=PATH – sound to play on failure (only for Mac)
Example:
an-install -s --doom --sticky --success-sound=/home/iceman/audio/success.wav
This will create a file in ~/.autotest like this:
# ~.autotest
require 'autotest_notification'
SPEAKING = false
DOOM_EDITION = false
BUUF = false
PENDING = false
STICKY = false
SUCCESS_SOUND = ''
FAILURE_SOUND = ''
In Windows without cygwin, it’s necessary to install in the directory of the project:
an-install --path=C:\projects\my_project
To turn off the notifier:
an-uninstall