Sha256: 4cefbe759ca919c1420fd93d3457d06591a91bbe96da059bc9468303848b51a0

Contents?: true

Size: 655 Bytes

Versions: 2

Compression:

Stored size: 655 Bytes

Contents

module Ninjs
end

module Ninjs
  def version
    '0.9.4'
  end
  
  def base_directory
    File.expand_path(File.join(File.dirname(__FILE__), '..'))
  end
  
  def lib_directory
    File.expand_path(File.join(File.dirname(__FILE__)))
  end
  
  def root_directory
    Dir.getwd
  end
  
  def repository_root
    base_directory + '/repository/'
  end
  
  module_function :version,
                  :base_directory,
                  :lib_directory,
                  :root_directory,
                  :repository_root
end

%w(dependencies configuration helpers manifest project command).each do |lib|
  require "#{Ninjs.lib_directory}/ninjs/#{lib}"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ninjs-0.10.1 lib/ninjs.rb
ninjs-0.10.0 lib/ninjs.rb