Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 23 lines (20 sloc) 0.599 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
require 'json'
require 'i18n'
require 'yaml'
require 'pathname'

module Veewee
  # The source root is the path to the root directory of
  # the Veewee gem.
  def self.source_root
    @source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
  end
end

# # Default I18n to load the en locale
I18n.load_path << File.expand_path("lib/veewee/templates/locales/en.yml", Veewee.source_root)

# Load the things which must be loaded before anything else
require 'veewee/error'
require 'veewee/cli'
require 'veewee/ui'
require 'veewee/command'
require 'veewee/environment'
require 'veewee/version'
Something went wrong with that request. Please try again.