Sha256: dbed97ed188fef9df47cb27ed843b8b12573a061187d93391c49b09033856a29
Contents?: true
Size: 540 Bytes
Versions: 1
Compression:
Stored size: 540 Bytes
Contents
guard :rspec, cmd: 'bundle exec rspec' do # watch /lib/ files watch(%r{^lib/(.+).rb$}) do |m| "spec/#{m[1]}_spec.rb" end # watch /spec/ files watch(%r{^spec/(.+).rb$}) do |m| "spec/#{m[1]}.rb" end end guard :bundler do require 'guard/bundler' require 'guard/bundler/verify' helper = Guard::Bundler::Verify.new files = ['Gemfile'] files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) } # Assume files are symlinked from somewhere files.each { |file| watch(helper.real_path(file)) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sloe-0.8.9 | Guardfile |