mirror of
https://github.com/mudler/luet.git
synced 2025-09-04 08:45:40 +00:00
update vendor/
This commit is contained in:
29
vendor/github.com/cavaliercoder/grab/Makefile
generated
vendored
Normal file
29
vendor/github.com/cavaliercoder/grab/Makefile
generated
vendored
Normal 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
|
Reference in New Issue
Block a user