summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-11-12 13:39:41 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-11-12 13:39:41 +0100
commit5dd16e14dd41f1565687142ba7cefa7c4cf64658 (patch)
treed571b793928cdf89feb6d040b359c3db2a00c766 /Makefile
parent0d92ff5fd34d79b54c30c38ac41bc600acf7b7c4 (diff)
downloadappstore-5dd16e14dd41f1565687142ba7cefa7c4cf64658.tar.gz
appstore-5dd16e14dd41f1565687142ba7cefa7c4cf64658.tar.bz2
appstore-5dd16e14dd41f1565687142ba7cefa7c4cf64658.tar.xz
appstore-5dd16e14dd41f1565687142ba7cefa7c4cf64658.zip
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