mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-06 05:30:57 +00:00
Grab downloader
This commit is contained in:
+29
@@ -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
|
||||
Reference in New Issue
Block a user