#8 skip path if branch exists #12
4
Makefile
4
Makefile
@ -11,6 +11,10 @@ buildcli:
|
|||||||
cli:
|
cli:
|
||||||
go install git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
|
go install git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
|
||||||
|
|
||||||
|
.PHONY: buildcli
|
||||||
|
buildcli:
|
||||||
|
CGO_ENABLED=0 go build -o bin/app -mod=readonly git.unistack.org/unistack-org/pkgdash/cmd/pkgdashcli
|
||||||
|
|
||||||
.PHONY: test
|
.PHONY: test
|
||||||
test:
|
test:
|
||||||
go test -v ./... -race -cover
|
go test -v ./... -race -cover
|
||||||
|
1
go.mod
1
go.mod
@ -80,6 +80,7 @@ require (
|
|||||||
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
|
||||||
github.com/jackc/pgtype v1.14.0 // indirect
|
github.com/jackc/pgtype v1.14.0 // indirect
|
||||||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
|
||||||
|
github.com/jdx/go-netrc v1.0.0 // indirect
|
||||||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
|
||||||
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
github.com/kevinburke/ssh_config v1.2.0 // indirect
|
||||||
github.com/lyft/protoc-gen-star/v2 v2.0.3 // indirect
|
github.com/lyft/protoc-gen-star/v2 v2.0.3 // indirect
|
||||||
|
@ -34,3 +34,9 @@ func NewConfig() *Config {
|
|||||||
UpdateOpt: &UpdateOpt{},
|
UpdateOpt: &UpdateOpt{},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func NewConfig() *Config {
|
||||||
|
return &Config{
|
||||||
|
Source: &Source{},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user