Sha256: 22ecec1717c5d3d5de9c928ec5da76e577d0707dd36e3eb818946543489c242c
Contents?: true
Size: 645 Bytes
Versions: 3
Compression:
Stored size: 645 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})\"` nil 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
grosser-autotest-4.0.3 | lib/autotest/emacs.rb |
grosser-autotest-4.0.4 | lib/autotest/emacs.rb |
ZenTest-4.0.0 | lib/autotest/emacs.rb |