å¿ è¦ãªæé ã¯åç §å ã¨ã»ã¨ãã©åãã§ãããå¤æ´ç¹ã¯11çªããã Macã®Growlã«ç¸å½ãããã®ã¯ãUbuntuã§ã¯Notifyãããããã¡ããå©ç¨ã sudo apt-get install libnotify-bin ~/.autotestãã¡ã¤ã«ã以ä¸ã®ãããªå 容ã«ããã module Autotest::Notify def self.notify(title, message, priority='critical') icon = if priority == 'critical' 'dialog-error' else 'dialog-information' end system "notify-send -u #{priority} -t 10000 -i #{icon} '#{title}' '#{message.inspect}'" end Autotest.add_h
{{#tags}}- {{label}}
{{/tags}}