Sha256: a214a370a86eb923c6b649f8be952431475641eca5e065a0fd83b88b6159be70

Contents?: true

Size: 356 Bytes

Versions: 16

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true
directories %w(app lib test) \
  .select { |d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist") }

guard :minitest do
  # with Minitest::Unit
  watch(%r{^test/(.*)\/?test_(.*)\.rb$})
  watch(%r{^lib/(.*/)?([^/]+)\.rb$})     { |m| "test/test_#{m[2]}.rb" }
  watch(%r{^test/test_helper\.rb$})      { 'test' }
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
discourse_theme-2.1.4 Guardfile
discourse_theme-2.1.3 Guardfile
discourse_theme-2.1.2 Guardfile
discourse_theme-2.1.1 Guardfile
discourse_theme-2.1.0 Guardfile
discourse_theme-2.0.0 Guardfile
discourse_theme-1.1.0 Guardfile
discourse_theme-1.0.2 Guardfile
discourse_theme-1.0.1 Guardfile
discourse_theme-1.0.0 Guardfile
discourse_theme-0.9.1 Guardfile
discourse_theme-0.9.0 Guardfile
discourse_theme-0.8.0 Guardfile
discourse_theme-0.7.6 Guardfile
discourse_theme-0.7.5 Guardfile
discourse_theme-0.7.4 Guardfile