summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2025-01-25 19:57:40 +0900
committerGitHub <noreply@github.com>2025-01-25 19:57:40 +0900
commit0237bf09bf1fe70d94727b040ac39110f56b497f (patch)
treed32061f165f8bd0ba39ef3123623e16be2afe8a1 /Makefile
parent04017c25bb719c31bb18d43b4bcb96c4736f8d91 (diff)
downloadfzf-0237bf09bf1fe70d94727b040ac39110f56b497f.tar.gz
Split integration test file (#4205)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ea565a0a..d66d2ef8 100644
--- a/Makefile
+++ b/Makefile
@@ -82,12 +82,15 @@ test: $(SOURCES)
github.com/junegunn/fzf/src/tui \
github.com/junegunn/fzf/src/util
+itest:
+ ruby test/runner.rb
+
bench:
cd src && SHELL=/bin/sh GOOS= $(GO) test -v -tags "$(TAGS)" -run=Bench -bench=. -benchmem
-lint: $(SOURCES) test/test_go.rb
+lint: $(SOURCES) test/*.rb test/lib/*.rb
[ -z "$$(gofmt -s -d src)" ] || (gofmt -s -d src; exit 1)
- rubocop --require rubocop-minitest --require rubocop-performance
+ bundle exec rubocop -a --require rubocop-minitest --require rubocop-performance
install: bin/fzf
@@ -186,4 +189,4 @@ update:
$(GO) get -u
$(GO) mod tidy
-.PHONY: all generate build release test bench lint install clean docker docker-test update
+.PHONY: all generate build release test itest bench lint install clean docker docker-test update