added the -p flag to remove standard pkg system files from the build
This commit is contained in:
parent
1e623869cb
commit
db9c445729
|
@ -9,4 +9,4 @@ before_install:
|
|||
script:
|
||||
- /usr/racket/bin/raco pkg install $TRAVIS_BUILD_DIR
|
||||
- /usr/racket/bin/raco test $TRAVIS_BUILD_DIR
|
||||
- /usr/racket/bin/raco cover -c coveralls -d $TRAVIS_BUILD_DIR/coverage -e scribblings $TRAVIS_BUILD_DIR
|
||||
- /usr/racket/bin/raco cover -c coveralls -d $TRAVIS_BUILD_DIR/coverage -p $TRAVIS_BUILD_DIR
|
||||
|
|
7
raco.rkt
7
raco.rkt
|
@ -7,7 +7,7 @@
|
|||
|
||||
(define coverage-dir "coverage")
|
||||
(define output-format "html")
|
||||
(define exclude-paths '("info.rkt" "tests"))
|
||||
(define exclude-paths '())
|
||||
(define include-exts '())
|
||||
|
||||
(define args
|
||||
|
@ -23,9 +23,12 @@
|
|||
[("-v" "--verbose")
|
||||
"Verbose mode"
|
||||
(verbose #t)]
|
||||
[("-p" "--exclude-pkg-defaults")
|
||||
"exclude info.rkt, the tests directory, and the scribblings directory from the coverage report"
|
||||
(set! exclude-paths (append '("info.rkt" "tests" "scribblings") exclude-paths))]
|
||||
#:multi
|
||||
[("-e" "--exclude-from-output") t
|
||||
"exclude all paths named this from the coverage report. By default excludes info.rkt and the tests directory"
|
||||
"exclude any paths named this from the coverage report."
|
||||
(set! exclude-paths (cons t exclude-paths))]
|
||||
[("-i" "--include-extentions") f
|
||||
"include these extentions in files to cover."
|
||||
|
|
Loading…
Reference in New Issue
Block a user