Fix default suggestion strategy and add testing

This commit is contained in:
Geza Lore
2016-03-01 21:57:10 +00:00
committed by Eric Freese
parent 83f78d0760
commit 976acc708c
4 changed files with 89 additions and 3 deletions

View File

@@ -24,6 +24,9 @@ ALL_TARGETS := \
$(PLUGIN_TARGET) \
$(OH_MY_ZSH_LINK_TARGET)
TEST_FILES := \
$(SCRIPT_DIR)/test*.zsh
all: $(ALL_TARGETS)
$(PLUGIN_TARGET): $(HEADER_FILES) $(SRC_FILES)
@@ -39,4 +42,7 @@ clean:
.PHONY: test
test: all
$(SCRIPT_DIR)/test.zsh
@for test_file in $(TEST_FILES); do \
echo "\nRunning $$test_file"; \
$$test_file; \
done