Sha256: abcd695c6892ca103cebb17232085282dce89147d2a1da8270354ac2f3b4fef3

Contents?: true

Size: 643 Bytes

Versions: 25

Compression:

Stored size: 643 Bytes

Contents

#
# Script to build a list of dependencies
#

# require 'gloo_lang/core/baseo'
# require 'gloo_lang/core/obj'

path = File.dirname( File.absolute_path( __FILE__ ) )

files = []
#
# We want to start with these to avoid dependency errors later on.
#
files << File.join( path, 'gloo', 'core', 'baseo.rb' )
files << File.join( path, 'gloo', 'core', 'obj.rb' )

root = File.join( path, 'gloo', '**/*.rb' )
Dir.glob( root ).each do |ruby_file|
  files << ruby_file unless files.include?( ruby_file )
end

#
# Now that we have the first with some key dependencies
# at the top, we'll require them.
#
files.each do |ruby_file|
  require ruby_file
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
gloo-3.8.0 lib/dependencies.rb
gloo-3.7.0 lib/dependencies.rb
gloo-3.6.2 lib/dependencies.rb
gloo-3.6.1 lib/dependencies.rb
gloo-3.6.0 lib/dependencies.rb
gloo-3.5.0 lib/dependencies.rb
gloo-3.4.1 lib/dependencies.rb
gloo-3.4.0 lib/dependencies.rb
gloo-3.3.0 lib/dependencies.rb
gloo-3.2.0 lib/dependencies.rb
gloo-3.1.1 lib/dependencies.rb
gloo-3.1.0 lib/dependencies.rb
gloo-3.0.1 lib/dependencies.rb
gloo-3.0.0 lib/dependencies.rb
gloo-2.5.0 lib/dependencies.rb
gloo-2.4.3 lib/dependencies.rb
gloo-2.4.2 lib/dependencies.rb
gloo-2.4.1 lib/dependencies.rb
gloo-2.4.0 lib/dependencies.rb
gloo-2.3.1 lib/dependencies.rb