aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-26 23:58:22 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-26 23:58:22 +0100
commit110ffae47db27a49bbc43f86ba3737bccc1b3085 (patch)
treed74934b12e2904b8aff5fe87421a6501b8ea5c8e /Makefile
parentca27d6f6d9ccc35bf55db3d360d1d464d5e206e7 (diff)
downloadapp.sh-110ffae47db27a49bbc43f86ba3737bccc1b3085.tar.gz
app.sh-110ffae47db27a49bbc43f86ba3737bccc1b3085.tar.bz2
app.sh-110ffae47db27a49bbc43f86ba3737bccc1b3085.tar.xz
app.sh-110ffae47db27a49bbc43f86ba3737bccc1b3085.zip
o Rewriting most of this stuff to make it feel more like git.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2019e13
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+all: test
+
+BATS=$(patsubst test/%,%,$(wildcard test/*.bats))
+TESTS=$(addprefix bats-,$(BATS))
+
+bats-%:
+ @echo === test/$(patsubst bats-%,%,$@)
+ @bats test/$(patsubst bats-%,%,$@)
+
+test: $(TESTS)
+ @echo BATS=$(BATS)
+ @echo TESTS=$(TESTS)
+
+.PHONY: test