Sha256: e57e7603116e05f10df41e0ee7298c360c14d7031773f8a167d32846f876ead1

Contents?: true

Size: 643 Bytes

Versions: 3

Compression:

Stored size: 643 Bytes

Contents

#!/usr/local/bin/ruby

# Check if an older version of extjs-mvc is installed
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
$LOAD_PATH.unshift('/Users/chris/workspace/gems/xmvc/lib')
$LOAD_PATH.unshift('/Users/chris/workspace/extjs/extjs-mvc/lib')
$LOAD_PATH.unshift('/Users/chris/workspace/extjs/extjs/lib')

require 'extjs-mvc'

# Boot Xmvc CLI listener feeding it an instance of ExtJS::MVC::CLI
begin
  Xmvc::CLI.start(ARGV, {
    :host => ExtJS::MVC,  # <-- Supplied module must contain a CLI Thor task extension
    :vendors => [ExtJS, ExtJS::MVC]
  })
rescue Xmvc::Error => e
  Xmvc.ui.error(e.message)
  exit e.status_code
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
extjs-mvc-0.4.0.k bin/run
extjs-mvc-0.4.0.j bin/run
extjs-mvc-0.4.0.i bin/run