Sha256: c13e4d207d432740a9d4414a997d365c2f73ccd5134d304cba9772226db87c3a

Contents?: true

Size: 274 Bytes

Versions: 1

Compression:

Stored size: 274 Bytes

Contents

desc 'with-rake', 'Run tests with `rake`'
def with_rake
  if file_containing?('Rakefile', /^task.+default.+(spec|test)/)
    invoke_cmd 'bundle_install'

    announce 'Running tests with `rake`'
    Util.system! 'rake'
  else
    note '`rake` does not run tests.'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geordi-1.0.0 lib/geordi/commands/with_rake.rb