Sha256: d39691fa972fd2e39e06b1fac3881002898c5dccbf504782830a308804ee9adb
Contents?: true
Size: 560 Bytes
Versions: 17
Compression:
Stored size: 560 Bytes
Contents
guard :rubocop, all_on_start: false, cli: [ "--display-cop-names", "--display-style-guide" ] do watch( /lib\/.*\.rb$/ ) watch( /spec\/.*\.rb$/ ) end 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
Version data entries
17 entries across 17 versions & 1 rubygems