changed the -p flag to be -b. fix for #18

This commit is contained in:
Ryan Plessner 2015-01-12 10:11:38 -05:00
parent d4e3aaf6ab
commit 7a753a8f86
2 changed files with 3 additions and 4 deletions

View File

@ -32,7 +32,7 @@
[("-v" "--verbose") [("-v" "--verbose")
"Verbose mode" "Verbose mode"
(verbose #t)] (verbose #t)]
[("-p" "--exclude-pkg-defaults") [("-b" "--exclude-pkg-basics")
"exclude info.rkt, the tests directory, and the scribblings directory from the coverage report" "exclude info.rkt, the tests directory, and the scribblings directory from the coverage report"
(set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))] (set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))]
#:multi #:multi

View File

@ -22,7 +22,8 @@ The @exec{raco cover} command accepts the following flags:
This is also suitable for pushing to coveralls from Travis CI.} This is also suitable for pushing to coveralls from Travis CI.}
@item{raw: @racket[write]s the raw output @racket[get-test-coverage] to the @item{raw: @racket[write]s the raw output @racket[get-test-coverage] to the
output file.}]} output file.}]}
@item{@Flag{b} or @DFlag{exclude-pkg-basics}
Equivalent to @exec{-e tests -e info.rkt -e scribblings}}
@item{@Flag{d} or @DFlag{directory} @item{@Flag{d} or @DFlag{directory}
--- Specifies the directory to output coverage information to. --- Specifies the directory to output coverage information to.
defaults to @filepath{coverage}.} defaults to @filepath{coverage}.}
@ -30,8 +31,6 @@ The @exec{raco cover} command accepts the following flags:
--- excludes any directories by name from the coverage report. --- excludes any directories by name from the coverage report.
Files in these directories are still run, they are just excluded from the Files in these directories are still run, they are just excluded from the
outputted coverage. This flag may appear any number of times.} outputted coverage. This flag may appear any number of times.}
@item{@Flag{p} or @DFlag{exclude-pkg-defaults}
Equivalent to @exec{-e tests -e info.rkt -e scribblings}}
@item{@Flag{i} or @DFlag{include-extensions} @item{@Flag{i} or @DFlag{include-extensions}
--- include the given regular expression in the list of file patterns --- include the given regular expression in the list of file patterns
used when expanding directories, searching for files to cover.} used when expanding directories, searching for files to cover.}