Sha256: 2fa5cdf0ee4d0a3195786a098dc95e42aa71d3284cf13486f8acb4553c5a33de

Contents?: true

Size: 457 Bytes

Versions: 20

Compression:

Stored size: 457 Bytes

Contents

  # begin
  if Origen.command_dispatcher.snapshots_exist?
    ix = ARGV.index('--snapshot_rev')
    if ix
      ARGV.delete_at(ix)
      version = ARGV[ix]
      ARGV.delete_at(ix)
    else
      version = :latest
    end

    Origen.command_dispatcher.create_workspace(version) do |workspace|
      workspace.execute(ARGV)
    end

  else
    fail 'Sorry no worker snapshots could be found!'
  end

# rescue
#  Origen.command_dispatcher.record_error
# end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
origen-0.4.0 lib/origen/commands/dispatch.rb
origen-0.3.0 lib/origen/commands/dispatch.rb
origen-0.2.6 lib/origen/commands/dispatch.rb
origen-0.2.5 lib/origen/commands/dispatch.rb
origen-0.2.4 lib/origen/commands/dispatch.rb
origen-0.2.3 lib/origen/commands/dispatch.rb
origen-0.2.2 lib/origen/commands/dispatch.rb
origen-0.2.1 lib/origen/commands/dispatch.rb
origen-0.2.0 lib/origen/commands/dispatch.rb
origen-0.1.3 lib/origen/commands/dispatch.rb
origen-0.1.2 lib/origen/commands/dispatch.rb
origen-0.1.1 lib/origen/commands/dispatch.rb
origen-0.1.0 lib/origen/commands/dispatch.rb
origen-0.0.9 lib/origen/commands/dispatch.rb
origen-0.0.8 lib/origen/commands/dispatch.rb
origen-0.0.6 lib/origen/commands/dispatch.rb
origen-0.0.5 lib/origen/commands/dispatch.rb
origen-0.0.4 lib/origen/commands/dispatch.rb
origen-0.0.3 lib/origen/commands/dispatch.rb
origen-0.0.2 lib/origen/commands/dispatch.rb