Sha256: 28aa1e88a145be6b44670d13e63b425fcd02a490d9ad3ff54bf59536fda097e5

Contents?: true

Size: 404 Bytes

Versions: 38

Compression:

Stored size: 404 Bytes

Contents

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

    Interaction.announce 'Running tests with `rake`'
    Util.run!(Util.binstub_or_fallback('rake'))
  else
    Interaction.note '`rake` does not run tests.'
    :did_not_perform
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
geordi-11.2.1 lib/geordi/commands/with_rake.rb
geordi-11.2.0 lib/geordi/commands/with_rake.rb
geordi-11.1.0 lib/geordi/commands/with_rake.rb
geordi-11.0.0 lib/geordi/commands/with_rake.rb
geordi-10.1.0 lib/geordi/commands/with_rake.rb
geordi-10.0.1 lib/geordi/commands/with_rake.rb
geordi-10.0.0 lib/geordi/commands/with_rake.rb
geordi-9.6.1 lib/geordi/commands/with_rake.rb
geordi-9.6.0 lib/geordi/commands/with_rake.rb
geordi-9.5.1 lib/geordi/commands/with_rake.rb
geordi-9.5.0 lib/geordi/commands/with_rake.rb
geordi-9.4.1 lib/geordi/commands/with_rake.rb
geordi-9.4.0 lib/geordi/commands/with_rake.rb
geordi-9.3.1 lib/geordi/commands/with_rake.rb
geordi-9.3.0 lib/geordi/commands/with_rake.rb
geordi-9.2.0 lib/geordi/commands/with_rake.rb
geordi-9.1.0 lib/geordi/commands/with_rake.rb
geordi-9.0.0 lib/geordi/commands/with_rake.rb
geordi-8.0.0 lib/geordi/commands/with_rake.rb
geordi-7.0.2 lib/geordi/commands/with_rake.rb