summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ba3a58e..9759eab 100644
--- a/Makefile
+++ b/Makefile
@@ -8,18 +8,21 @@ TESTS=$(addprefix test-,$(BATS))
test-%:
@echo === $@
- @bats $(patsubst test-%,test/%,$@)
+ @PATH=test/bats/bin:$(PATH) bats $(patsubst test-%,test/%,$@)
show-tests:
@echo BATS=$(BATS)
@echo TESTS=$(TESTS)
@echo $(addprefix set_header-,$(BINS))
-test: $(TESTS)
+test: test/bats $(TESTS)
.PHONY: test
+test/bats:
+ cd test && git clone git://github.com/sstephenson/bats.git
+
docs:
- @make -C docs
+ #@make -C docs
.PHONY: docs
define set_header