Run Rails specs in a way that can be read by Cruise Control
Switch branches/tags
Nothing to show
Pull request Compare This branch is even with trotter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
tasks
MIT-LICENSE
README
Rakefile
init.rb

README

CruiseControlBuilder
===============

CruiseControlBuilder seeks to make it easy to add your rails project to Cruise Control. It adds three rake tasks to your rails project. spec:ant will run your specs and send the output to log/test-cc.log. build:ant will remigrate your database and then run spec:ant. db:migrate:zero will drop your database to migration zero and is used by build:ant. 

Example
=======

To use CruiseControlBuilder, first install it in your rails project using:

script/plugin install git://github.com/trotter/cruise_control_builder.git

Then add the following to your CruiseControl config.xml:

  <project name="your_project_name">
    <listeners>
      <currentbuildstatuslistener file="logs/${project.name}/status.txt"/>
    </listeners>

    <bootstrappers>
      <gitbootstrapper localWorkingCopy="projects/${project.name}" />
    </bootstrappers>

    <modificationset quietperiod="30">
      <git LocalWorkingCopy="projects/${project.name}" />
    </modificationset>

    <schedule interval="300">
      <rake target="build:ant" workingDir="projects/${project.name}" buildfile="Rakefile" />
    </schedule>

    <log>
      <merge dir="projects/${project.name}/log/test-cc.log"/>
    </log>
  </project>

Copyright (c) 2009 Trotter Cashion & Aaron Feng, released under the MIT license