Sha256: a139c0e0acd4b260b1000cd69595930a7556293bbec59b8f08a70809ea3f2be5
Contents?: true
Size: 637 Bytes
Versions: 14
Compression:
Stored size: 637 Bytes
Contents
# # Get autotest.el from http://www.emacswiki.org/cgi-bin/wiki/RyanDavis # module Autotest::Emacs @@client_cmd = 'emacsclient -e' def self.command= o @@client_cmd = o end def self.emacs_autotest status `#{@@client_cmd} \"(autotest-update '#{status})\"` end Autotest.add_hook :run_command do |at| emacs_autotest :running end Autotest.add_hook :green do |at| emacs_autotest :passed end Autotest.add_hook :all_good do |at| emacs_autotest :passed end Autotest.add_hook :red do |at| emacs_autotest :failed end Autotest.add_hook :quit do |at| emacs_autotest :quit end end
Version data entries
14 entries across 14 versions & 2 rubygems