Add debug parameter to enable set -x style debugging throughout entire script, including setup steps. The new debug option will replace the verbose param, which is now deprecated. Until then, both debug and verbose do the same two things. They:
Enable set-x style debugging in the script, and then
Add the --debug flag to all coveralls commands to turn on verbose output from the Coveralls API.
To Do
[x] Add debug parameter.
[x] Add note re: deprecation of verbose parameter.
[x] Add code to add set -x to script when debug (or verbose) are set to true.
[x] Add code to add --debug flag to coveralls commands when debug (or verbose) are set to true.
Fixes #36
Description
Add
debug
parameter to enableset -x
style debugging throughout entire script, including setup steps. The newdebug
option will replace theverbose
param, which is now deprecated. Until then, bothdebug
andverbose
do the same two things. They:set-x
style debugging in the script, and then--debug
flag to allcoveralls
commands to turn on verbose output from the Coveralls API.To Do
debug
parameter.verbose
parameter.set -x
to script whendebug
(orverbose
) are set totrue
.--debug
flag tocoveralls
commands whendebug
(orverbose
) are set totrue
.verbose
withdebug
in existing tests