Skip to content

Commit

Permalink
added vendor folder and make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-hanna committed May 13, 2019
1 parent cfcf34b commit 46a524b
Show file tree
Hide file tree
Showing 31 changed files with 3,767 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile
Expand Up @@ -7,10 +7,18 @@ fmt:
test:
bash -c 'go list ./... | grep -v vendor | xargs -n1 go test -timeout=30s -tags="unit integration e2e"'

.PHONY: deps
deps:
@go build -v ./...

.PHONY: vendor
vendor:
@go mod vendor

# thanks!
# https://gist.github.com/skarllot/13ebe8220822bc19494c8b076aabe9fc
test-cover-html:
echo "mode: count" > coverage-all.out
$(foreach pkg,$(PACKAGES),\
go test -tags="unit integration e2e" -coverprofile=coverage.out -covermode=count $(pkg);\
tail -n +2 coverage.out >> coverage-all.out;)
tail -n +2 coverage.out >> coverage-all.out;)
175 changes: 175 additions & 0 deletions vendor/github.com/garyburd/redigo/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 54 additions & 0 deletions vendor/github.com/garyburd/redigo/internal/commandinfo.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46a524b

Please sign in to comment.