Dead project. A Rake clone with remote task execution.
Ruby C
Pull request Compare This branch is 105 commits ahead, 1259 commits behind ruby:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
doc
example
lib
rakelib
spec
test
.gitignore
.togglerc
CHANGES
CHANGES.rrake
INSTALLATION_NOTES
MIT-LICENSE
README.rdoc
Rakefile
TODO
install.rb
rake.blurb
rake.gemspec
rrake.blurb
rrake.gemspec

README.rdoc

RRAKE – RemoteRake

Version: 0.8.99.5

This package contains RemoteRake, a Rake clone with remote task execution.

RemoteRake has the following features:

  • Standard Rakefiles with the addition of the remote keyword.

  • Conditions cause a task's execution to depend upon the prerequisites needed status (ie. not just true).

  • The decision to execute a task can be overridden with a proc.

Currently tested on:

  • ubuntu-10.04.1-server-i386 (ruby-1.8.7-p330, ruby-1.9.1-p378, ruby-1.9.2-p136)

  • Windows XP SP3 (ruby 1.8.7)

  • Mac OS X 10.6.5 (ruby 1.8.7)

  • OpenBSD 4.8 snapshot 20101224 (ruby 1.8.7)

Installation

Gem Installation

Download and install rake with the following.

TODO gem install rrake

Usage

Simple Example

First, you must write a “Rakefile” file which contains the build rules. Here's a simple example:

task :default => [:test]

task :test do
  ruby "test/unittest.rb"
end

This Rakefile has two tasks:

  • A task named “test”, which - upon invocation - will run a unit test file in Ruby.

  • A task named “default”. This task does nothing by itself, but it has exactly one dependency, namely the “test” task. Invoking the “default” task will cause Rake to invoke the “test” task as well.

Running the “rrake” command without any options will cause it to run the “default” task in the Rakefile:

% ls
Rakefile     test/
% rake
(in /home/some_user/Projects/rake)
ruby test/unittest.rb
....unit test output here...

Type “rrake –help” for all available options.

More Information

Development

Source Repository

RemoteRake is currently hosted at github. The github web page is github.com/notro/rrake. The public git clone URL is

  • git://github.com/notro/rrake.git

Running the Rake Test Suite

If you wish to run the unit and functional tests that come with Rake:

  • Use the –development switch on gem install rrake to get the needed gems.

  • Install the 'session' gem in order to run the functional tests (doesn't work on Windows and OpenBSD).

  • CD into the top project directory of rrake.

  • Type one of the following:

    rrake -T                 # If you have a version of rrake installed
    ruby -Ilib bin/rrake -T  # If you do not have a version of rrake installed.

Issues and Bug Reports

Feature requests and bug reports can be made here

  • <TODO>

No account is needed for posting requests.

Issues and bug reports can be tracked here:

  • <TODO>

Online Resources

Rake References

Presentations and Articles about Rake

Other Rake spin offs

  • Distributed Rake: A branch of Rake supporting automatic parallelizing of tasks. drake.rubyforge.org/

Credits

Jim Weirich

For making a very versatile build tool.

Matz

For making a very flexible and enjoyable language.

License

Rake is available under an MIT-style license.

:include: MIT-LICENSE

Support

<TODO> The Rake homepage is rrake.rubyforge.org. You can find the Rake RubyForge page at rubyforge.org/projects/rrake.

Feel free to submit commits or feature requests. If you send a patch, remember to update the corresponding unit tests. If fact, I prefer new feature to be submitted in the form of new unit tests.


Other stuff

Author

Noralf Tronnes <notro@tronnes.org>

Requires

Ruby 1.8.7 or later

License

Copyright 2003-2010 by Jim Weirich. Copyright 2010 by Noralf Tronnes. Released under an MIT-style license. See the MIT-LICENSE file included in the distribution.

Warranty

This software is provided “as is” and without any express or implied warranties, including, without limitation, the implied warranties of merchantibility and fitness for a particular purpose.