-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathdoc.go
42 lines (33 loc) · 1.19 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
Package overalls takes multi-package go projects, runs test coverage tests on
all packages in each directory and finally concatenates into a single file for
tools like goveralls.
$ overalls -help
usage: overalls -project=[path] -covermode[mode] OPTIONS
overalls recursively traverses your projects directory structure
running 'go test -covermode=count -coverprofile=profile.coverprofile'
in each directory with go test files, concatenates them into one
coverprofile in your root directory named 'overalls.coverprofile'
OPTIONS
-project
Your project path relative to the '$GOPATH/src' directory
example: -project=github.com/go-playground/overalls
-covermode
Mode to run when testing files.
default:count
OPTIONAL
-ignore
A comma separated list of directory names to ignore, relative to project path.
example: -ignore=[.git,.hiddentdir...]
default: '.git'
-debug
A flag indicating whether to print debug messages.
example: -debug
default:false
-concurrency
Limit the number of packages being processed at one time.
The minimum value must be 2 or more when set.
example: -concurrency=5
default: unlimited
*/
package main