Skip to content
ahonor edited this page Sep 15, 2011 · 31 revisions

System Requirements

  • Bash shell and a unix system environment.

Installation

No packaging exists for rerun. For now, simply "git clone" it.

cd /tmp
git clone git://github.com/dtolabs/rerun.git
cd rerun

After it is downloaded, invoke the rerun executable to see a module list.

$ ./rerun 
[modules]
  stubbs: "Simple rerun module builder"

Successful installation results in a module listing (stubbs module is included by default).

If you care about system packaging (e.g. RPM, DEB), feel free to contribute your ideas.

Environment

Update your Bash profile (e.g., .bash_profile, .bashrc) to set the following environment variables.

PATH

Add the path to your rerun executable to your $PATH.

RERUN_MODULES

Rerun checks for an environment variable called $RERUN_MODULES that specifies a directory of rerun modules. If $RERUN_MODULES is not set, rerun checks the current working directory for a subdirectory called "modules".

Bash completion

Rerun's listing feature is available through Bash command completion. To enable it, update your .bash_profile with a line like so:

[ -r /path/to/rerun/bash_completion ] && { . /path/to/rerun/bash_completion ; }

Next steps

See README.md for general usage information.

The stubbs module is included and you'll find it useful to create your own modules.

Clone this wiki locally