Sha256: 54c23ef56df8c3451ddd965404a286153632bbca80fec8ef73e3d82c161b4371

Contents?: true

Size: 289 Bytes

Versions: 19

Compression:

Stored size: 289 Bytes

Contents

desc 'with-rake', 'Run tests with `rake`', :hide => true
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

19 entries across 19 versions & 1 rubygems

Version Path
geordi-1.4.3 lib/geordi/commands/with_rake.rb
geordi-1.4.2 lib/geordi/commands/with_rake.rb
geordi-1.4.1 lib/geordi/commands/with_rake.rb
geordi-1.4.0 lib/geordi/commands/with_rake.rb
geordi-1.3.2 lib/geordi/commands/with_rake.rb
geordi-1.3.1 lib/geordi/commands/with_rake.rb
geordi-1.3.0 lib/geordi/commands/with_rake.rb
geordi-1.2.3 lib/geordi/commands/with_rake.rb
geordi-1.2.2 lib/geordi/commands/with_rake.rb
geordi-1.2.1 lib/geordi/commands/with_rake.rb
geordi-1.2.0 lib/geordi/commands/with_rake.rb
geordi-1.1.4 lib/geordi/commands/with_rake.rb
geordi-1.1.3 lib/geordi/commands/with_rake.rb
geordi-1.1.2 lib/geordi/commands/with_rake.rb
geordi-1.1.1 lib/geordi/commands/with_rake.rb
geordi-1.1.0 lib/geordi/commands/with_rake.rb
geordi-1.0.3 lib/geordi/commands/with_rake.rb
geordi-1.0.2 lib/geordi/commands/with_rake.rb
geordi-1.0.1 lib/geordi/commands/with_rake.rb