Sha256: 4ab015ed152587b064d58b8728585b4eea4f766adce7b19a859e1e6f45868286

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 KB

Contents

require "highline"
require "highline/import"
# &:symbol goodness.
require "facet/symbol/to_proc"
# blank? on string and nil
require "facet/string/blank"
require "facet/nilclass/blank"
# x.in?(y) is better than y.include?(x)
require "facet/kernel/in"
# Allows binding[]
require "facet/binding"
# What it says.
require "facet/kernel/__DIR__"
require "facet/kernel/instance_exec"
require "facet/module/alias_method_chain"
require "facet/module/memoize"
require "facet/array/head"
require "facet/string/starts_with"
require "facet/openobject"
require "facets/core/kernel/tap"
require "facets/core/enumerable/uniq_by"
# A different kind of buildr, one we use to create XML.
require "builder"


module Buildr
  VERSION = "1.2.4".freeze # unless const_defined?(:VERSION)
end

# Now it's safe to load Buildr, after we set up the Rake Application.
require "core/application"
require "core/project"
require "core/build"
require "core/help"
require "core/generate"

require "tasks/concat.rb"
require "tasks/zip.rb"
require "tasks/tar.rb"

require "java/compile"
require "java/test"
require "java/packaging"
require "java/eclipse"
require "java/idea"


# Methods defined in Buildr are both instance methods (e.g. when included in Project)
# and class methods when invoked like Buildr.artifacts().
module Buildr ; extend self ; end
# The Buildfile object (self) has access to all the Buildr methods and constants.
class << self ; include Buildr ; end
class Object #:nodoc:
  Buildr.constants.each { |c| const_set c, Buildr.const_get(c) unless const_defined?(c) }
end
# Project has visibility to everything in the Buildr namespace. (See above for constants)
class Project ; include Buildr ; end

# Load .rake files form tasks directory, and buildr.rb files.
Buildr.load_tasks_and_local_files

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
buildr-1.2.4 lib/buildr.rb