Sha256: 0c24e6c7904af68a86309caf5b5efeeb2afb3d48bd423a1c72aba3772c8386dc

Contents?: true

Size: 521 Bytes

Versions: 19

Compression:

Stored size: 521 Bytes

Contents

#
# The following can be used to run the application in CLI mode
# in development and use source rather than the gem.
#
# From the /lib/ directory:  ruby run.rb
#

# Look for all required dependencies.
path = File.dirname( File.absolute_path( __FILE__ ) )
require File.join( path, 'dependencies.rb' )

params = []
( params << '--cli' ) if ARGV.count.zero?

platform = Gloo::App::Platform.new
context = GlooLang::App::EngineContext.new(
  params, platform, Gloo::App::Log, nil )
GlooLang::App::Engine.new( context ).start

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
gloo-1.4.2 lib/run.rb
gloo-1.4.1 lib/run.rb
gloo-1.4.0 lib/run.rb
gloo-1.3.3 lib/run.rb
gloo-1.3.2 lib/run.rb
gloo-1.3.1 lib/run.rb
gloo-1.3.0 lib/run.rb
gloo-1.2.10 lib/run.rb
gloo-1.2.9 lib/run.rb
gloo-1.2.8 lib/run.rb
gloo-1.2.7 lib/run.rb
gloo-1.2.6 lib/run.rb
gloo-1.2.5 lib/run.rb
gloo-1.2.4 lib/run.rb
gloo-1.2.3 lib/run.rb
gloo-1.2.2 lib/run.rb
gloo-1.2.0 lib/run.rb
gloo-1.1.0 lib/run.rb
gloo-1.0.0 lib/run.rb