Sha256: 819108eaf2184cf46ab2303bc02fba9165c799bf831a594e8251a89586aed229

Contents?: true

Size: 405 Bytes

Versions: 14

Compression:

Stored size: 405 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
#
path = File.dirname( File.absolute_path( __FILE__ ) )
root = File.join( path, 'gloo', '**/*.rb' )
Dir.glob( root ) { |ruby_file| require ruby_file }

params = []
( params << '--cli' ) if ARGV.count.zero?
Gloo::App::Engine.new( params ).start

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
gloo-0.7.5 lib/run.rb
gloo-0.7.4 lib/run.rb
gloo-0.7.3 lib/run.rb
gloo-0.7.2 lib/run.rb
gloo-0.7.1 lib/run.rb
gloo-0.7.0 lib/run.rb
gloo-0.6.1 lib/run.rb
gloo-0.6.0 lib/run.rb
gloo-0.5.4 lib/run.rb
gloo-0.5.3 lib/run.rb
gloo-0.5.2 lib/run.rb
gloo-0.5.1 lib/run.rb
gloo-0.5.0 lib/run.rb
gloo-0.4.0 lib/run.rb