aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-17 23:55:52 +0100
committerGitHub <noreply@github.com>2020-12-17 23:55:52 +0100
commite9cc613c245fa15cc8d8e3e3e98573a212c73aa4 (patch)
tree9e14f6dd467ac4fbafcb555e74876c039195abde
parentf8a668ab0c098476a47b9d96fb061fa31fec78ef (diff)
downloadgitea-e9cc613c245fa15cc8d8e3e3e98573a212c73aa4.tar.gz
gitea-e9cc613c245fa15cc8d8e3e3e98573a212c73aa4.zip
Makefile cleanup & double golangci-lint timeout (#14044)
* Makefile cleanup The xmldom dependency is no longer required since #13680. Also, whitespace cleanup. * double the golangci-lint timeout
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index fe26a413bd..bb2f181d29 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,3 @@
-
ifeq ($(USE_REPO_TEST_DIR),1)
# This rule replaces the whole Makefile when we're trying to use /tmp repository temporary files
@@ -697,10 +696,9 @@ generate-license:
generate-gitignore:
GO111MODULE=on $(GO) run build/generate-gitignores.go
-
.PHONY: generate-images
generate-images:
- npm install --no-save --no-package-lock xmldom fabric imagemin-zopfli
+ npm install --no-save --no-package-lock fabric imagemin-zopfli
node build/generate-images.js
.PHONY: pr\#%
@@ -713,7 +711,7 @@ golangci-lint:
export BINARY="golangci-lint"; \
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.31.0; \
fi
- golangci-lint run --timeout 5m
+ golangci-lint run --timeout 10m
.PHONY: docker
docker: