aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorViktor Söderqvist <[email protected]>2014-12-21 16:08:39 +0100
committerViktor Söderqvist <[email protected]>2014-12-23 21:07:33 +0100
commit1069745ffdaf048dccbb3b19dd017c115a638791 (patch)
tree8ad1806107a98cda72b52ea4203b0377f8392c07 /Makefile
parent68c888981b1b81e922de86813effce14b0f06082 (diff)
downloaderlang.mk-1069745ffdaf048dccbb3b19dd017c115a638791.tar.gz
erlang.mk-1069745ffdaf048dccbb3b19dd017c115a638791.tar.bz2
erlang.mk-1069745ffdaf048dccbb3b19dd017c115a638791.zip
Tests for erlank.mk targets 'app', 'tests-ct' and 'eunit'
Makefile-based tests in the test/ directory and 'make check' as an alias for (cd test; make).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7bb08d..2efc976 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ BUILD_CONFIG = $(shell sed "s/\#.*//" $(BUILD_CONFIG_FILE))
ERLANG_MK = erlang.mk
-.PHONY: all
+.PHONY: all check
all: pkg
awk 'FNR==1 && NR!=1{print ""}1' $(patsubst %,%.mk,$(BUILD_CONFIG)) > $(ERLANG_MK)
@@ -25,3 +25,6 @@ all: pkg
pkg:
cat packages.v2.tsv | awk 'BEGIN { FS = "\t" }; { print $$1 "\t" $$3 "\t" $$5 "\t" $$6 }' > packages.v1.tsv
cp packages.v1.tsv packages.v1.txt
+
+check:
+ make -C test