Sha256: a865b37814558ba04f70c2c49e66e1e1f877a0b4e52892ca4051c18cb752715c
Contents?: true
Size: 1.88 KB
Versions: 1
Compression:
Stored size: 1.88 KB
Contents
# in order to work around a bug in jruby (1.0.1 and trunk as of oct11, 2007) # needle and net/ssh need to be loaded before -anything- else. please see # http://jira.codehaus.org/browse/JRUBY-1188 for more info. require 'needle' require 'net/ssh' 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.8".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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
buildr-1.2.8 | lib/buildr.rb |