Sha256: d30e7bd4ee4f4eb73273fa3bf1195ad3c414f5798297226c72d4fc57fe97e18e

Contents?: true

Size: 271 Bytes

Versions: 15

Compression:

Stored size: 271 Bytes

Contents

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

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
geordi-2.12.3 lib/geordi/commands/unit.rb
geordi-2.12.2 lib/geordi/commands/unit.rb
geordi-2.12.1 lib/geordi/commands/unit.rb
geordi-2.12.0 lib/geordi/commands/unit.rb
geordi-2.11.0 lib/geordi/commands/unit.rb
geordi-2.10.1 lib/geordi/commands/unit.rb
geordi-2.10.0 lib/geordi/commands/unit.rb
geordi-2.9.0 lib/geordi/commands/unit.rb
geordi-2.8.0 lib/geordi/commands/unit.rb
geordi-2.7.0 lib/geordi/commands/unit.rb
geordi-2.6.0 lib/geordi/commands/unit.rb
geordi-2.5.0 lib/geordi/commands/unit.rb
geordi-2.4.0 lib/geordi/commands/unit.rb
geordi-2.3.0 lib/geordi/commands/unit.rb
geordi-2.2.0 lib/geordi/commands/unit.rb