Sha256: c9a3ca8c7444e64182cdbb440ca7577bfdd1e3273cbb40d27e3a663eff7d50d5
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
guard :rspec, cmd: 'bundle exec rspec' do require 'guard/rspec/dsl' dsl = Guard::RSpec::Dsl.new(self) # Feel free to open issues for suggestions and improvements # RSpec files rspec = dsl.rspec watch(rspec.spec_helper) { rspec.spec_dir } watch(rspec.spec_support) { rspec.spec_dir } watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) end guard :rake, task: 'compile' do watch(%r{ext/.*$}) end guard :rubocop, cli: '--auto-correct' do watch(/.+\.rb$/) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jpeg-0.7.1 | Guardfile |