public
Rubygem
Description: Apache Buildr
Homepage: http://incubator.apache.org/buildr
Clone URL: git://github.com/vic/buildr.git
commit  805d3faa609259986f3bf18cd513e5d3b972e645
tree    f9fb826f0b9f862f1577d632c5e409e18e0de88b
parent  b9a0106ccf8e00d67f96abc87e2f44262081542c
buildr / lib / buildr.rb
100644 47 lines (39 sloc) 1.793 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with this
# work for additional information regarding copyright ownership. The ASF
# licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.
 
 
$KCODE = 'utf8'
# 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 'net/ssh'
 
require 'highline/import'
require 'builder' # A different kind of buildr, one we use to create XML.
 
module Buildr
  VERSION = '1.3.1'.freeze # unless const_defined?(:VERSION)
end
 
require 'buildr/core'
require 'buildr/packaging'
require 'buildr/java'
require 'buildr/ide'
 
# 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
 
# Prevent RSpec runner from running at_exit.
require 'spec'
Spec.run = true