diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-11-10 15:25:23 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-11-10 15:25:23 +0100 |
commit | aa727b8868b428a6b75e0d48a854be65242b257c (patch) | |
tree | 37be2eeff0f50effca07977eec99b7b5364bdddb /Makefile | |
parent | ba7820b18c0ee8631505f7a2a764f7222a732d44 (diff) | |
download | app.sh-master.tar.gz app.sh-master.tar.bz2 app.sh-master.tar.xz app.sh-master.zip |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,16 +7,19 @@ 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 + clean: @make -s -C docs clean .PHONY: clean |