Sha256: c3979e8edef46e54d57ff3c182b3046689e2aabce5e36b8b9ccf778ec58f3b3a
Contents?: true
Size: 454 Bytes
Versions: 2
Compression:
Stored size: 454 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_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) # TODO: use the new rspec dsl here, but how? watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
muchkeys-0.0.1 | Guardfile |
muchkeys-0.0.0 | Guardfile |