Sha256: ca95a96324482e3bec40c1beaa16c04dc43e2e4a22ce06ac38bc87b3a1829390

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

desc 'unit', 'Run Test::Unit'
def unit
  if File.exist?('test/test_helper.rb')
    invoke_cmd 'bundle_install'
    invoke_cmd 'yarn_install'

    Interaction.announce 'Running Test::Unit'
    Util.system! 'bundle exec rake test'
  else
    Interaction.note 'Test::Unit not employed.'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geordi-3.2.0 lib/geordi/commands/unit.rb
geordi-3.1.0 lib/geordi/commands/unit.rb
geordi-3.0.3 lib/geordi/commands/unit.rb
geordi-3.0.2 lib/geordi/commands/unit.rb
geordi-3.0.1 lib/geordi/commands/unit.rb