Sha256: 92671e2f3934a377d33bcc2eb70c6dfc8c7fe84bf5afc52d8eea56438e010636
Contents?: true
Size: 647 Bytes
Versions: 5
Compression:
Stored size: 647 Bytes
Contents
#!/usr/bin/ruby # Must be an array test_cmd = [ "bundle exec pushover a message" ] guard :bundler do watch 'Gemfile' watch '*.gemspec' end guard :rspec do watch(%r{^spec/.+_spec\.rb$}) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" } watch(%r{^bin/(.+)\.rb$}) { |m| "spec/bin/#{m[1]}_spec.rb" } watch('spec/spec_helper.rb') { "spec" } end # guard :yard do # watch(%r{^lib/(.+)\.rb$}) # end # guard :shell do # watch /.*/ do |m| # puts "Time: #{Time.now}, file saved: #{m}" # test_cmd.each do |cmd| # puts "=" * 80 # puts "cmd: #{cmd}" # puts `#{cmd}` # end # end # end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pushover-1.0.4 | Guardfile |
pushover-1.0.3 | Guardfile |
pushover-1.0.2 | Guardfile |
pushover-1.0.1 | Guardfile |
pushover-1.0.0 | Guardfile |