Sha256: 01569488986ecec3ff481dcdc4dee0fa18f86ae0b35467972cc31ee36cd6e085

Contents?: true

Size: 552 Bytes

Versions: 3

Compression:

Stored size: 552 Bytes

Contents

# 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'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
anvil-core-0.6.0 lib/anvil.rb
anvil-core-0.5.0 lib/anvil.rb
anvil-core-0.4.2 lib/anvil.rb