Sorry, I misread the first paragraph and answered somewhat aside of the
In the case you describe, you could create a small wrapper that would look
more or less like this:
system("rcov", "--aggregate", "coverage.data", "--no-html", "-t",
"compiler.rb", "--", *ARGV)
Then you could select which script (the wrapper or the actual compiler.rb) is
to be executed with a symlink.
Alternatively, you could change the driver to select the script or execute
rcov with the appropriate arguments directly, but at that point you'd have to
implement some way to specify whether rcov is to be used or not, if you want
to allow both.
Hope this helps.
Mauricio Fernandez - http://www.yqcomputer.com/
- singular Ruby