Grab downloader

This commit is contained in:
Lorenzo Bolla
2021-10-08 10:43:52 +02:00
parent f93bc6ef0f
commit 894192851e
38 changed files with 4240 additions and 1 deletions
+29
View File
@@ -0,0 +1,29 @@
GO = go
GOGET = $(GO) get -u
all: check lint
check:
cd cmd/grab && $(MAKE) -B all
$(GO) test -cover -race ./...
install:
$(GO) install -v ./...
clean:
$(GO) clean -x ./...
rm -rvf ./.test*
lint:
gofmt -l -e -s . || :
go vet . || :
golint . || :
gocyclo -over 15 . || :
misspell ./* || :
deps:
$(GOGET) github.com/golang/lint/golint
$(GOGET) github.com/fzipp/gocyclo
$(GOGET) github.com/client9/misspell/cmd/misspell
.PHONY: all check install clean lint deps