summaryrefslogtreecommitdiff
path: root/vendor/github.com/elastic/go-freelru/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/elastic/go-freelru/Makefile')
-rw-r--r--vendor/github.com/elastic/go-freelru/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/vendor/github.com/elastic/go-freelru/Makefile b/vendor/github.com/elastic/go-freelru/Makefile
new file mode 100644
index 0000000..7454ac7
--- /dev/null
+++ b/vendor/github.com/elastic/go-freelru/Makefile
@@ -0,0 +1,16 @@
+.PHONY: bench check tests clean
+
+tests: check
+
+check:
+ @go test ./... -benchmem -race
+
+clean:
+ @rm *.test */*.test
+
+bench:
+ @(cd bench; go test -bench=. -run XXX)
+
+GOLANGCI_LINT_VERSION = "v1.60.1"
+lint:
+ @go run github.com/golangci/golangci-lint/cmd/golangci-lint@$(GOLANGCI_LINT_VERSION) run