Sha256: 5694fa9f8dbc9a871810e423244f991f38e97b36c226fbe058f34af0349f8c75

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

#!/usr/local/bin/ruby

# Check if an older version of extjs-mvc is installed
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../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

2 entries across 2 versions & 1 rubygems

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