-
Notifications
You must be signed in to change notification settings - Fork 8
Usage
Buildr is designed to work in conjunction with Ant. Before you can use Buildr, you must create a local copy by creating a clone of the source. In order to obtain the source code, you must first install Git on your system. Instructions for installing and setting up Git can be found at http://help.github.com/set-up-git-redirect.
If you simply want to create a local copy of the source to play with, you can clone the main repository using this command:
git clone git://github.com/nzakas/buildr.git
Make sure you're cloning into a place that is close to your project so that you can reference it easily.
Your Ant build.xml
needs to reference Buildr in order to use the tasks. The file to import is buildr.xml
, which is in the root directory of the Buildr source repository. Use the following code in your build.xml
:
<import file="${buildr.dir}/buildr.xml" />
This assumes you have the Buildr directory stored in the property buildr.dir
.
You're now ready to start using the various Tasks available in Buildr.