mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-27 10:34:42 -05:00
* chore: bump reva to 2.52.2 * Merge pull request #42 from opencloud-eu/fix-web-theme-merge fix(web): merge copies of the theme sources so themeDefaults is never mutated * Merge pull request #43 from opencloud-eu/fix-search-trailing-not fix(search): handle missing operands in the bleve compiler * Merge pull request #44 from opencloud-eu/fix-search-highlight-escaping fix(search): escape file content in OpenSearch highlights --------- Co-authored-by: Ralf Haferkamp <r.haferkamp@opencloud.eu> Co-authored-by: Florian Schade <f.schade@icloud.com>
19 lines
400 B
Makefile
19 lines
400 B
Makefile
GOCMD=go
|
|
|
|
linters-install:
|
|
@golangci-lint --version >/dev/null 2>&1 || { \
|
|
echo "installing linting tools..."; \
|
|
curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s v2.13.1; \
|
|
}
|
|
|
|
lint: linters-install
|
|
golangci-lint run
|
|
|
|
test:
|
|
$(GOCMD) test -cover -race ./...
|
|
|
|
bench:
|
|
$(GOCMD) test -run=NONE -bench=. -benchmem ./...
|
|
|
|
.PHONY: test lint linters-install
|