Sha256: 2c10de24a050788f03570348263b6282fc88531708fb5bb6244f185f1698e562
Contents?: true
Size: 865 Bytes
Versions: 5
Compression:
Stored size: 865 Bytes
Contents
guard :bundler do require 'guard/bundler' require 'guard/bundler/verify' helper = Guard::Bundler::Verify.new files = ['Gemfile'] files += Dir['*.gemspec'] if files.any? { |f| helper.uses_gemspec?(f) } # Assume files are symlinked from somewhere files.each { |file| watch(helper.real_path(file)) } end guard 'ctags-bundler', src_path: ['app', 'lib', 'spec/support'] do watch(/^(app|lib|spec\/support)\/.*\.rb$/) watch('Gemfile.lock') 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
lounge_lizard-0.1.4 | Guardfile |
lounge_lizard-0.1.3 | Guardfile |
lounge_lizard-0.1.2 | Guardfile |
lounge_lizard-0.1.1 | Guardfile |
lounge_lizard-0.1.0 | Guardfile |