# encoding: UTF-8

require 'anvil/version'
require 'active_support/core_ext'

# Main anvil module
module Anvil
  Error = Class.new(StandardError)

  class RepoNotClean < Error; end

  class << self
    def logger
      @logger ||= Logger.new(STDOUT).tap do |l|
        l.formatter = proc do |*_, msg|
          "#{msg}\n"
        end
      end
    end
  end
end

require 'anvil/config'
require 'anvil/cli'
require 'anvil/task'
require 'anvil/assure'
require 'anvil/assures/file_assure'
require 'anvil/assures/directory_assure'

# encoding: UTF-8

require 'anvil/version'
require 'active_support'
require 'active_support/core_ext'

# Main anvil module
module Anvil
  Error = Class.new(StandardError)

  class RepoNotClean < Error; end

  class << self
    def logger
      @logger ||= Logger.new(STDOUT).tap do |l|
        l.formatter = proc do |*_, msg|
          "#{msg}\n"
        end
      end
    end
  end
end

require 'anvil/config'
require 'anvil/cli'
require 'anvil/task'
require 'anvil/assure'
require 'anvil/assures/file_assure'
require 'anvil/assures/directory_assure'

Load active_support before any other active_support file.
Load active_support before any other active_support file.

This loads activesupport/dependencies/autoload.rb.
