fzy
terminal fuzzy finder picker
git clone https://9o.is/git/fzy.git
commit 1e116195740570a68cd598fcdd925e55316b8264 parent 6aca96f448681507fc3c707fdbf55b7a8b096104 Author: John Hawthorn <john.hawthorn@gmail.com> Date: Sat, 21 May 2016 15:00:39 -0700 Move fzytest into test/ directory Diffstat:
| M | Makefile | | | 12 | ++++++------ |
| R | src/fzytest.c -> test/fzytest.c | | | 0 |
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile @@ -12,16 +12,16 @@ INSTALL_PROGRAM=$(INSTALL) INSTALL_DATA=${INSTALL} -m 644 OBJECTS=src/fzy.o src/match.o src/tty.o src/choices.o -TESTOBJECTS=src/fzytest.o src/match.o src/choices.o +TESTOBJECTS=test/fzytest.c src/match.o src/choices.o all: fzy -fzytest: $(TESTOBJECTS) - $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $(TESTOBJECTS) +test/fzytest: $(TESTOBJECTS) + $(CC) $(CFLAGS) $(CCFLAGS) -Isrc -o $@ $(TESTOBJECTS) test: check -check: fzytest - $(DEBUGGER) ./fzytest +check: test/fzytest + $(DEBUGGER) ./test/fzytest fzy: $(OBJECTS) $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $(OBJECTS) @@ -44,6 +44,6 @@ fmt: clang-format -i src/*.c src/*.h clean: - rm -f fzy fzytest src/*.o + rm -f fzy test/fzytest src/*.o .PHONY: test check all clean install fmt diff --git a/src/fzytest.c b/test/fzytest.c