Module | Buildr::Nailgun |
In: |
addon/buildr/nailgun.rb
(CVS)
|
This addon is provided for fast interaction with a DRb BuildrServer (buildr/drb).
This module delegates task invocation to the BuildrServer, it only implements nailgun required logic (server/client).
Usage:
buildr -r buildr/nailgun nailgun:start
Once the server has been started you can invoke tasks using the nailgun client installed on $JRUBY_HOME/tool/nailgun. It‘s recommended to add this path to your PATH environment variable, so that the ng command is available at any dir.
ng build # invoke the build task
VERSION | = | '0.7.1' |
NAME | = | "nailgun-#{VERSION}" |
URL | = | "http://downloads.sourceforge.net/nailgun/#{NAME}.zip" |
ARTIFACT_SPEC | = | "com.martiansoftware:nailgun:jar:#{VERSION}" |
PORT | = | DRbApplication::PORT + 2 |
ADDON_BIN | = | File.dirname(__FILE__) |