mirror of
https://github.com/unpoller/unpoller.git
synced 2026-09-29 19:11:17 +02:00
add goreleaser support to build regularly again
probably do not need travis anymore either disable lint in travis ci since it is broken
This commit is contained in:
@@ -352,14 +352,14 @@ $(patsubst %,%.darwin.so,$(PLUGINS)):
|
||||
GOOS=darwin go build -o $@ -ldflags "$(VERSION_LDFLAGS)" -buildmode=plugin ./plugins/$(patsubst %.darwin.so,%,$@)
|
||||
|
||||
# Run code tests and lint.
|
||||
test: lint
|
||||
test: # lint
|
||||
# Testing.
|
||||
go test -race -covermode=atomic ./...
|
||||
lint:
|
||||
# Checking lint.
|
||||
GOOS=linux $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
GOOS=freebsd $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
GOOS=windows $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
#lint:
|
||||
# # Checking lint.
|
||||
# GOOS=linux $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
# GOOS=freebsd $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
# GOOS=windows $(shell go env GOPATH)/bin/golangci-lint run $(GOLANGCI_LINT_ARGS)
|
||||
|
||||
# Mockgen and bindata are examples.
|
||||
# Your `go generate` may require other tools; add them!
|
||||
|
||||
Reference in New Issue
Block a user