detroit-syntax - ruby syntax checker plug-in for detroit
The Syntax plug-in for Detroit will make sure your ruby scripts
are syntax error free. This plug-in shells out to
Clearly this ia a rather trivial plug-in, and is here mainly for example sake.
The following options can be used in the Detroit assembly file for defining a Syntax service.
files - Test files to include.
exclude - Files or globs to exclude.
ignore - Files to ignore by matching filename.
loadpath - Directories to add to
$LOAD_PATH. Defaults to
extra - Extra command line options to append to
log - Log results to this file, or set to
true to use default
log/syntax.rdoc. If not given no log will be created.
A typical example would look something like:
syntax: files: [lib, test]
For more information:
Copyright (c) 2010 Thomas Sawyer, Rubyworks
Detroit Syntax is distributable in accordance with the GPL v.3 license.