Sha256: 875e9bf011f0da77792483ace4d385208545ae2576037fe5e194baeb53ef5e98

Contents?: true

Size: 318 Bytes

Versions: 13

Compression:

Stored size: 318 Bytes

Contents

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

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
geordi-1.9.0 lib/geordi/commands/with_rake.rb
geordi-1.8.0 lib/geordi/commands/with_rake.rb
geordi-1.7.1 lib/geordi/commands/with_rake.rb
geordi-1.7.0 lib/geordi/commands/with_rake.rb
geordi-1.6.5 lib/geordi/commands/with_rake.rb
geordi-1.6.4 lib/geordi/commands/with_rake.rb
geordi-1.6.3 lib/geordi/commands/with_rake.rb
geordi-1.6.2 lib/geordi/commands/with_rake.rb
geordi-1.6.1 lib/geordi/commands/with_rake.rb
geordi-1.6.0 lib/geordi/commands/with_rake.rb
geordi-1.5.2 lib/geordi/commands/with_rake.rb
geordi-1.5.1 lib/geordi/commands/with_rake.rb
geordi-1.5.0 lib/geordi/commands/with_rake.rb