Sha256: 371de9d80cdf284f25aae49aee702127cdaf2757db21154390601029bdf23717
Contents?: true
Size: 802 Bytes
Versions: 1
Compression:
Stored size: 802 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme ## Uncomment and set this to only include directories you want to watch # directories %w(app lib config test spec features) \ # .select{|d| Dir.exists?(d) ? d : UI.warning("Directory #{d} does not exist")} ## Note: if you are using the `directories` clause above and you are not ## watching the project directory ('.'), then you will want to move ## the Guardfile to a watched dir and symlink it back, e.g. # # $ mkdir config # $ mv Guardfile config/ # $ ln -s config/Guardfile . # # and, you'll have to watch "config/Guardfile" instead of "Guardfile" guard :rspec, cmd: 'bundle exec rspec', all_on_start: true do watch(%r{^spec/(.+)\.rb$}) { 'spec' } watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pg_conduit-0.1.0 | Guardfile |