Sha256: d9933a98624a5dbafa67ed33244fe860d9ba51c9d2e8e0c10b49b5c121311373
Contents?: true
Size: 545 Bytes
Versions: 4
Compression:
Stored size: 545 Bytes
Contents
scope groups: [:doc, :lint, :unit] group :doc do guard :yard do watch(%r{^lib/(.+)\.rb$}) end end group :lint do guard :rubocop do watch(%r{.+\.rb$}) watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) } end end group :unit do guard :rspec, cmd: 'bundle exec rspec --color --format Fuubar' do watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^lib/gatecoin/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } watch(%r{^spec/.+_spec\.rb$}) watch('spec/spec_helper.rb') { 'spec' } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gatecoin-0.3.0 | Guardfile |
gatecoin-0.2.0 | Guardfile |
gatecoin-0.1.1 | Guardfile |
gatecoin-0.1.0 | Guardfile |