$LOAD_PATH.unshift File.join(File.dirname(__FILE__), 'yard')

['logger'].each do |file|
  require File.join(File.dirname(__FILE__), 'yard', file)
end

module YARD
  VERSION = "0.2.1"
  
  module CodeObjects; end
  module Generators; end
  module Parser
    module Lexer; end
    module Ruby; end
  end
  module Handlers; end
  module Tags
    module Library; end
  end
end

%w[ 
  symbol_hash
  tags/*
  code_objects/base 
  code_objects/namespace_object
  code_objects/*
  parser/**/*
  handlers/base
  handlers/*
  registry
  tag_library
].each do |file|
  file = File.join(File.dirname(__FILE__), 'yard', file + ".rb")
  Dir[file].each do |f|
    if require(f)
      log.debug "Loading #{f}..."
    end
  end
end
YARD_ROOT = File.join(File.dirname(__FILE__), 'yard')
YARD_TEMPLATE_ROOT = File.join(File.dirname(__FILE__), '..', 'templates')

$LOAD_PATH.unshift(YARD_ROOT)

['logger'].each do |file|
  require File.join(File.dirname(__FILE__), 'yard', file)
end

module YARD
  VERSION = "0.2.1"
  
  module CodeObjects; end
  module Generators; end
  module Parser
    module Lexer; end
    module Ruby; end
  end
  module Handlers; end
  module Tags
    module Library; end
  end
end

%w[ 
  symbol_hash
  tags/*
  code_objects/base 
  code_objects/namespace_object
  code_objects/*
  parser/**/*
  handlers/base
  handlers/*
  registry
  tag_library
].each do |file|
  file = File.join(File.dirname(__FILE__), 'yard', file + ".rb")
  Dir[file].each do |f|
    if require(f)
      log.debug "Loading #{f}..."
    end
  end
end
Add YARD_ROOT and YARD_TEMPLATE_ROOT constants for later
Add YARD_ROOT and YARD_TEMPLATE_ROOT constants for later
