Sha256: 7fed38ad98c4afc0ea0fadbea3fc08f8283d619a98bd353988924625fece0525
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
guard :rspec, cmd: 'bundle exec rspec' do require 'guard/rspec/dsl' dsl = Guard::RSpec::Dsl.new(self) # RSpec files rspec = dsl.rspec watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) end guard :rubocop do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
switch_db-0.2.0 | Guardfile |
switch_db-0.1.1 | Guardfile |
switch_db-0.1.0 | Guardfile |