Sha256: c4ab3c958e2c7d9adf59803e41e8e83875985d68e169950f2e6d14b2e4b5ad10
Contents?: true
Size: 577 Bytes
Versions: 5
Compression:
Stored size: 577 Bytes
Contents
my_code = <<'RUBY_CODE' if type == 'failed' system "ssh 192.168.1.106 '~/bin/keyboard_leds -c1 >/dev/null'" system "ssh 192.168.1.106 'afplay ~/.fail.wav'" end if type == 'success' system "ssh 192.168.1.106 '~/bin/keyboard_leds -c0 >/dev/null'" system "ssh 192.168.1.106 'afplay ~/.success.wav'" end RUBY_CODE notification :eval_notifier, :code => my_code guard 'rspec', :cli => '--color --format doc' do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
akero-1.0.4 | Guardfile |
akero-1.0.3 | Guardfile |
akero-1.0.2 | Guardfile |
akero-1.0.1 | Guardfile |
akero-1.0.0 | Guardfile |