mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
Fix debug functions
This commit is contained in:
parent
6c2d6bfd11
commit
d5020ac109
@ -30,6 +30,7 @@ install:
|
||||
|
||||
script:
|
||||
- gox -verbose -os "${GOX_OS}" -tags "release" ./cmd/restic
|
||||
- gox -verbose -os "${GOX_OS}" -tags "debug" ./cmd/restic.debug
|
||||
- go run run_tests.go all.cov
|
||||
- GOARCH=386 RESTIC_TEST_INTEGRATION=0 go test ./...
|
||||
- goveralls -coverprofile=all.cov -service=travis-ci -repotoken "$COVERALLS_TOKEN" || true
|
||||
|
@ -16,14 +16,14 @@ import (
|
||||
)
|
||||
|
||||
type CmdDump struct {
|
||||
global *MainOptions
|
||||
global *GlobalOptions
|
||||
}
|
||||
|
||||
func init() {
|
||||
_, err := parser.AddCommand("dump",
|
||||
"dump data structures",
|
||||
"The dump command dumps data structures from a repository as JSON documents",
|
||||
&CmdDump{global: &mainOpts})
|
||||
&CmdDump{global: &globalOpts})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
@ -12,7 +12,6 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
var opts struct {
|
||||
|
Loading…
Reference in New Issue
Block a user